Update t.sh

Former-commit-id: b8bee957b79f3fb0524b596271e5013b25c369ce
This commit is contained in:
fscarmen
2021-11-15 20:03:01 +08:00
committed by GitHub
parent c70a84539c
commit dc893f61dd
+2 -2
View File
@@ -231,8 +231,8 @@ uninstall(){
}
# 根据已安装情况执行卸载任务并显示结果
[[ $(type -P wg-quick) ]] && (uninstall_wgcf; [[ ! $(type -P wg-quick) ]] && green " $T117 " || red " $T118 ")
[[ $(type -P warp-cli) ]] && (uninstall_proxy; [[ ! $(type -P warp-cli) ]] && green " $T119 " || red " $T120 ")
[[ $(type -P wg-quick) ]] && (uninstall_wgcf; [[ -z $(type -P wg-quick) ]] && green " $T117 " || red " $T118 ")
[[ $(type -P warp-cli) ]] && (uninstall_proxy; [[ -z $(type -P warp-cli) ]] && green " $T119 " || red " $T120 ")
# 显示卸载结果
IP4=$(curl -s4m7 https://ip.gs/json)