Add some new plugins

This commit is contained in:
iwumingz 2022-04-08 22:43:37 +08:00
parent 49adcdd788
commit 5ed7f52fa2

View File

@ -47,6 +47,14 @@ pre_check() {
delete_old_image_and_container(){ delete_old_image_and_container(){
# 获取最新指令说明 # 获取最新指令说明
# 远程file # 远程file
echo -e "${red}警告!警告!警告!${plain}"
echo -e "${red}警告通过脚本更新sycgram可能会导致您的command.yml被远程配置覆盖${plain}"
echo -e "${yellow}提示如果您的command.yml相对不重要您可以直接更新${plain}"
echo -e "${yellow}建议通过sycgram指令更新${plain}"
read -p "是否继续是则请输入yes" opt
if [[ ${opt} != "yes" ]]; then
exit 0
fi
remote_file="https://raw.githubusercontent.com/iwumingz/sycgram/main/data/command.yml" remote_file="https://raw.githubusercontent.com/iwumingz/sycgram/main/data/command.yml"
# 本地file # 本地file
local_cmd_file="${PROJECT_PATH}/data/command.yml" local_cmd_file="${PROJECT_PATH}/data/command.yml"