mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
fix: 青龙执行脚本时出错(#202)
This commit is contained in:
parent
ae4d1fde91
commit
468300227d
@ -2,6 +2,8 @@
|
||||
set -e
|
||||
|
||||
NAME=LotteryAutoScript
|
||||
|
||||
# 视网络情况选择链接
|
||||
GIT_REPO=https://github.com/shanmiteko/${NAME}.git
|
||||
# GIT_REPO=https://ghproxy.com/https://github.com/shanmiteko/${NAME}.git
|
||||
|
||||
@ -14,11 +16,13 @@ else
|
||||
fi
|
||||
|
||||
if [ -f "$NAME/my_config.js" ]; then
|
||||
echo 'my_config 已存在'
|
||||
else
|
||||
cp $NAME/my_config.example.js $NAME/my_config.js
|
||||
fi
|
||||
|
||||
if [ -f "$NAME/env.js" ]; then
|
||||
echo 'env.js 已存在'
|
||||
else
|
||||
cp $NAME/env.example.js $NAME/env.js
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user