README.md,docker-build-bot.sh ,docker-start-bot.sh,以及start-bot.sh的修改#11
Open
hg-hg wants to merge 3 commits intocorgiclub:mainfrom
Open
README.md,docker-build-bot.sh ,docker-start-bot.sh,以及start-bot.sh的修改#11hg-hg wants to merge 3 commits intocorgiclub:mainfrom
hg-hg wants to merge 3 commits intocorgiclub:mainfrom
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
更新
README.md将README.md中
cd script/docker-image; sh docker-build.sh修改为
cd script/docker-image; sh docker-build-bot.sh(不确定这项修改是否合理)
优化
docker-build-bot.sh现在
docker-build-bot.sh会检测路径下是否存在docker所需的mongodb-linux-x86_64-ubuntu1804-4.4.2.tgz文件,并在没有时从此网址进行下载。优化
docker-start-bot.sh,以及start-bot.sh现在以上两个shell script会自动读取project所在路径,不再将路径限制为
/ErGostart-bot.sh现在会自动检测是否存在logs路径以及mirai路径TODO: 建议在
start-bot.sh中添加miraiOK_linux-amd64下载指令,或取消.gitignore中mirai文件夹以及其中不涉及个人隐藏信息的文件,GitHub上原MiraiOK仓库提供的下载地址已失效