From 26471424bc9b0ba7538ddaa3e0b15fa9823f52e2 Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Sat, 2 Apr 2022 14:28:43 +0800 Subject: [PATCH] Update menu.sh --- menu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/menu.sh b/menu.sh index 84443ea..b7b37f1 100644 --- a/menu.sh +++ b/menu.sh @@ -709,7 +709,10 @@ uninstall(){ [[ -e /etc/gai.conf ]] && sed -i '/^precedence \:\:ffff\:0\:0/d;/^label 2002\:\:\/16/d' /etc/gai.conf [[ -e /usr/bin/tun.sh ]] && rm -f /usr/bin/tun.sh && sed -i '/tun.sh/d' /etc/crontab } - + + # 如已安装 warp_unlock 项目,先行卸载 + [[ -e /etc/wireguard/warp_unlock.sh ]] && bash <(curl -sSL https://raw.githubusercontent.com/fscarmen/warp_unlock/main/unlock.sh) -U -E + # 根据已安装情况执行卸载任务并显示结果 UNINSTALL_CHECK=("wg-quick" "warp-cli" "wireproxy") UNINSTALL_DO=("uninstall_wgcf" "uninstall_proxy" "uninstall_wireproxy")