From 81116b36283e570028af1a5d4be2a4b16cf28ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Tue, 6 Dec 2022 06:16:36 +0000 Subject: [PATCH] Update CFwarp.sh --- CFwarp.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CFwarp.sh b/CFwarp.sh index 37bc9e3..d7d6297 100644 --- a/CFwarp.sh +++ b/CFwarp.sh @@ -749,7 +749,14 @@ case "$Input" in esac } +warpgo(){ +if [[ -n $(type -P warp-go) ]]; then +red "请先卸载已安装的WARP-GO,否则无法安装当前的WGCF-WARP,脚本退出" && exit +fi +} + if [ $# == 0 ]; then +warpgo start start_menu fi