🐉ql extra.sh 🔨fix bug 2021-08-25 05:59:25
This commit is contained in:
parent
39c8ef8f76
commit
53ee25697c
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
## Mod: Build20210816V1
|
||||
## Mod: Build20210825V1
|
||||
## 添加你需要重启自动执行的任意命令,比如 ql repo
|
||||
## 安装node依赖使用 pnpm install -g xxx xxx(Build 20210728-002 及以上版本的 code.sh,可忽略)
|
||||
## 安装python依赖使用 pip3 install xxx(Build 20210728-002 及以上版本的 code.sh,可忽略)
|
||||
@ -126,10 +126,12 @@ done
|
||||
|
||||
# 🍪Ninja
|
||||
update_Ninja_normal(){
|
||||
cd /ql/ninja/backend && git pull -f && 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
|
||||
}
|
||||
|
||||
if [ "${Ninja}" = "up" ]; then
|
||||
if [ "$Ninja" = "up" ]; then
|
||||
update_Ninja_normal &
|
||||
fi
|
||||
|
||||
@ -201,6 +203,6 @@ install_dependencies_all(){
|
||||
done
|
||||
}
|
||||
|
||||
if [ "${dependencies}" = "yes" ]; then
|
||||
if [ "$dependencies" = "yes" ]; then
|
||||
install_dependencies_all &
|
||||
fi
|
||||
Loading…
Reference in New Issue
Block a user