From 94b135a0e9151e7e20a9d4170edce14e294ac39c 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: Thu, 30 Mar 2023 07:58:59 +0000 Subject: [PATCH] Update CFwarp.sh --- CFwarp.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CFwarp.sh b/CFwarp.sh index 551aee9..fe76adf 100644 --- a/CFwarp.sh +++ b/CFwarp.sh @@ -1811,15 +1811,15 @@ case "$Input" in esac } if [ $# == 0 ]; then -if [[ -n $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then +if [[ -n $(type -P warp-go) && -z $(type -P wg-quick) ]] && [[ -f '/root/CFwarp.sh' ]]; then ONEWARPGO -elif [[ -n $(type -P warp-go) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then +elif [[ -n $(type -P warp-go) && -n $(type -P warp-cli) && -z $(type -P wg-quick) ]] && [[ -f '/root/CFwarp.sh' ]]; then ONEWARPGO elif [[ -z $(type -P warp-go) && -z $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then ONEWARPGO -elif [[ -n $(type -P wg-quick) ]] && [[ -f '/root/CFwarp.sh' ]]; then +elif [[ -n $(type -P wg-quick) && -z $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then ONEWGCFWARP -elif [[ -n $(type -P wg-quick) && -n $(type -P warp-cli) ]] && [[ -f '/root/CFwarp.sh' ]]; then +elif [[ -n $(type -P wg-quick) && -n $(type -P warp-cli) && -z $(type -P warp-go) ]] && [[ -f '/root/CFwarp.sh' ]]; then ONEWGCFWARP else startCFwarp