From e5330845cffcdda731e3108024c3a6c9ad76953d Mon Sep 17 00:00:00 2001 From: zetaloop Date: Thu, 14 Aug 2025 14:41:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E5=A4=8Dsi?= =?UTF-8?q?ng-box=E4=B8=8Bwireguard=E5=8D=B8=E8=BD=BD=E6=97=B6=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E4=B8=8D=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 9a63fda..78958b9 100644 --- a/install.sh +++ b/install.sh @@ -7256,7 +7256,7 @@ unInstallWireGuard() { fi if [[ -n "${singBoxConfigPath}" ]]; then - if [[ ! -f "${singBoxConfigPath}wireguard_out_IPv6_route.json" && ! -f "${singBoxConfigPath}wireguard_out_IPv4_route.json" ]]; then + if [[ ! -f "${singBoxConfigPath}wireguard_endpoints_IPv6_route.json" && ! -f "${singBoxConfigPath}wireguard_endpoints_IPv4_route.json" ]]; then rm "${singBoxConfigPath}wireguard_outbound.json" >/dev/null 2>&1 rm -rf /etc/v2ray-agent/warp/config >/dev/null 2>&1 fi @@ -7277,7 +7277,7 @@ removeWireGuardRoute() { # sing-box if [[ -n "${singBoxConfigPath}" ]]; then - removeSingBoxRouteRule "wireguard_out_${type}" + removeSingBoxRouteRule "wireguard_endpoints_${type}" fi unInstallWireGuard "${type}"