feat: save script...

This commit is contained in:
2019-06-14 15:03:31 +08:00
parent 1c45d24e5a
commit efae51a04c

View File

@ -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