feat: save script...
This commit is contained in:
@ -11,6 +11,10 @@ echo " 版本 v1.0"
|
|||||||
echo "=============================="
|
echo "=============================="
|
||||||
echo "程序将在 3秒 后运行... Ctrl + C 取消运行..."
|
echo "程序将在 3秒 后运行... Ctrl + C 取消运行..."
|
||||||
sleep 2
|
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 "开始检测安装依赖..."
|
echo "开始检测安装依赖..."
|
||||||
if [[ -z ${NODE} ]]; then
|
if [[ -z ${NODE} ]]; then
|
||||||
if [[ ! -d node ]]; then
|
if [[ ! -d node ]]; then
|
||||||
|
Reference in New Issue
Block a user