From 6d024c16ab1ffe2455302eb6ae8707ff796c178b Mon Sep 17 00:00:00 2001 From: QL Date: Tue, 3 Aug 2021 18:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=89ql=20extra.sh=20=F0=9F=94=A8fix=20b?= =?UTF-8?q?ug=202021-08-03=2018:45:49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tasks/qlrepo/extra.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tasks/qlrepo/extra.sh b/Tasks/qlrepo/extra.sh index 468d0e3..3054708 100644 --- a/Tasks/qlrepo/extra.sh +++ b/Tasks/qlrepo/extra.sh @@ -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(){