Update CFwarp.sh

This commit is contained in:
甬哥侃侃侃ygkkk 2023-03-30 08:58:00 +00:00
parent aa3065aa7c
commit a28c5d5386
1 changed files with 6 additions and 1 deletions

View File

@ -1761,6 +1761,11 @@ start_menu
fi
}
bug(){
red "检测到WARP安装环境异常"
yellow "再次运行脚本前,请先运行 rm -rf /usr/local/bin/warp-go /usr/bin/wg-quick"
}
startCFwarp(){
clear
green "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
@ -1803,6 +1808,6 @@ ONEWGCFWARP
elif [[ -n $(type -P wg-quick) && -n $(type -P warp-cli) && -z $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then
ONEWGCFWARP
else
startCFwarp
bug && sleep 2 && exit
fi
fi