diff --git a/tera/run.sh b/tera/run.sh index dfcbd40..d49f3d7 100644 --- a/tera/run.sh +++ b/tera/run.sh @@ -11,6 +11,10 @@ echo " 版本 v1.0" echo "==============================" echo "程序将在 3秒 后运行... Ctrl + C 取消运行..." sleep 2 +if [[ ! -f "OneKeyTera.sh" || ! -f ".lock" ]]; then + curl -o OneKeyTera.sh https://git.yumc.pw/cloud/script/raw/master/tera/run.sh +fi +touch .lock echo "开始检测安装依赖..." if [[ -z ${NODE} ]]; then if [[ ! -d node ]]; then