diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..5033093 Binary files /dev/null and b/.DS_Store differ diff --git a/Scripts/.DS_Store b/Scripts/.DS_Store new file mode 100644 index 0000000..bdbca81 Binary files /dev/null and b/Scripts/.DS_Store differ diff --git a/Scripts/sh/ql.sh b/Scripts/sh/ql.sh index ecb6247..6bb22ba 100644 --- a/Scripts/sh/ql.sh +++ b/Scripts/sh/ql.sh @@ -355,7 +355,7 @@ if [ "$access" != "2" ]; then if [ "$(grep -c "token" $CONFIG_PATH/auth.json)" != 0 ]; then log "7.开始安装或重装 Ninja" if [ "$INSTALL_NINJA" = true ]; then - docker exec -it $CONTAINER_NAME bash -c "cd /ql;ps -ef|grep ninja|grep -v grep|awk '{print $1}'|xargs kill -9;rm -rf /ql/ninja;git clone https://ghproxy.com/https://github.com/MoonBegonia/ninja.git /ql/ninja;cd /ql/ninja/backend;pnpm install;cp .env.example .env;cp sendNotify.js /ql/scripts/sendNotify.js;sed -i \"s/ALLOW_NUM=40/ALLOW_NUM=100/\" /ql/ninja/backend/.env;pm2 start" + docker exec -it $CONTAINER_NAME bash -c "cd /ql;ps -ef|grep ninja|grep -v grep|awk '{print $1}'|xargs kill -9;rm -rf /ql/ninja;git clone https://ghproxy.com/https://github.com/littleCareless/ninja.git /ql/ninja;cd /ql/ninja/backend;pnpm install;cp .env.example .env;cp sendNotify.js /ql/scripts/sendNotify.js;sed -i \"s/ALLOW_NUM=40/ALLOW_NUM=100/\" /ql/ninja/backend/.env;pm2 start" docker exec -it $CONTAINER_NAME bash -c "sed -i \"s/ALLOW_NUM=40/ALLOW_NUM=100/\" /ql/ninja/backend/.env && cd /ql/ninja/backend && pm2 start" fi log "8.开始青龙内部配置"