@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
SHELL_PREFIX="[SYNC]"
 | 
			
		||||
SHELL_PREFIX="[OneKeyTera]"
 | 
			
		||||
# Shell Base Script
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
@@ -42,7 +42,7 @@ if [[ ! -f "OneKeyTera.sh" || ! -f ".lock" || $(cat .lock) -lt $(($(date +%s) -
 | 
			
		||||
    info "更新脚本..."
 | 
			
		||||
    curl -o OneKeyTera.sh https://git.yumc.pw/cloud/script/raw/master/tera/run.sh
 | 
			
		||||
fi
 | 
			
		||||
info $(date +%s) > .lock
 | 
			
		||||
echo $(date +%s) > .lock
 | 
			
		||||
info "程序将在 3秒 后运行... Ctrl + C 取消运行..."
 | 
			
		||||
sleep 2
 | 
			
		||||
info "开始检测安装依赖..."
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user