-
Notifications
You must be signed in to change notification settings - Fork 70
拉取主分支更新 #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
拉取主分支更新 #121
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # 通过系统包管理器安装 | ||
| > [!WARNING] | ||
| > 目前仅提供AUR版本 | ||
| > 如果你是windows用户/macos用户,建议通过uv来安装 | ||
| > 如果你是Linux用户,强烈建议通过包管理器来安装 | ||
|
|
||
| # 准备步骤 | ||
|
|
||
| ## AUR 是什么? | ||
| AUR允许用户从社区维护的软件仓库中安装软件。AUR的包通常是由社区成员维护的,而不是官方维护的。 | ||
| 常见的AUR助手有yay,paru。 | ||
| 以下教程以paru为例,yay同理,仅需将paru替换为yay。 | ||
|
|
||
| # 安装过程 | ||
|
|
||
| ## AUR | ||
| ```bash | ||
| paru -S astrbot-git | ||
| # 提示: | ||
| # 开始审阅步骤,按q可退出审阅,继续安装 | ||
| # 安装后数据目录固定在:~/.local/share/astrbot | ||
| ``` | ||
| # 启动 | ||
| >[!TIP] | ||
| > 你可以直接使用 astrbot init (首次运行)初始化 | ||
| > 使用astrbot run运行 | ||
| > 但是更加推荐使用systemctl启动,拥有自动重启,日志轮转等功能 | ||
|
|
||
| ```bash | ||
| systemctl --user start astrbot.service | ||
| ``` | ||
|
|
||
| # 开机自启 | ||
| ```bash | ||
| # 处于安全考虑,设计为以用户身份执行 | ||
| systemctl --user enable astrbot.service | ||
| # 如果需要立即启动,加上--now | ||
| # systemctl --user enable --now astrbot.service | ||
| ``` | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error: "处于" should be "出于". The phrase should read "出于安全考虑" (out of security considerations) rather than "处于安全考虑" (being in security considerations).