@ -41,6 +41,8 @@ info "=============================="
|
||||
if [[ ! -f "OneKeyTera.sh" || ! -f ".lock" || $(cat .lock) -lt $(($(date +%s) - 86400)) ]]; then
|
||||
info "更新脚本..."
|
||||
curl -o OneKeyTera.sh https://git.yumc.pw/cloud/script/raw/master/tera/run.sh
|
||||
bash OneKeyTera.sh
|
||||
exit 0
|
||||
fi
|
||||
echo $(date +%s) > .lock
|
||||
info "程序将在 3秒 后运行... Ctrl + C 取消运行..."
|
||||
|
Reference in New Issue
Block a user