🐉ql extra.sh 🔨fix bug 2021-08-03 18:45:49

This commit is contained in:
QL 2021-08-03 18:45:49 +08:00
parent 4822de0167
commit 6d024c16ab

View File

@ -22,12 +22,12 @@
#------ 设置区 ------#
## 1. 拉取仓库编号设置,默认 shufflewzc 仓库
CollectedRepo=(4) ##示例CollectedRepo=(2 4 6)
OtherRepo=() ##示例OtherRepo=(1 3)
OtherRepo=(14) ##示例OtherRepo=(1 3)
## 2. 是否安装依赖和安装依赖包的名称设置
dependencies="no" ##yes为安装no为不安装
package_name="canvas png-js date-fns axios crypto-js ts-md5 tslib @types/node dotenv typescript fs require tslib"
## 3. Ninja 是否需要启动和更新设置
Ninja="down" ##up为运行down为不运行谨慎修改
Ninja="up" ##up为运行down为不运行谨慎修改
#------ 编号区 ------#
@ -125,7 +125,7 @@ done
# 🍪Ninja
update_Ninja_normal(){
! test -d "/ql/ninja/backend" && mkdir -p "/ql/ninja/backend" && git checkout . && git pull && pnpm install && pm2 start && cp sendNotify.js /ql/scripts/sendNotify.js
cd /ql/ninja/backend && git checkout . && git pull && pnpm install && pm2 start && cp sendNotify.js /ql/scripts/sendNotify.js
}
reinstall_Ninja_force(){