From ab4efce103519c3dbbeabddbac37c5be763e3b45 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:34:38 +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=E8=AE=BE=E7=BD=AE=E5=85=A8=E5=B1=80=E5=88=86=E6=B5=81?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E4=BD=BF=E7=94=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index f94ddb8..4d15c31 100644 --- a/install.sh +++ b/install.sh @@ -490,7 +490,7 @@ readInstallProtocolType() { realityServerName=${xrayVLESSRealityServerName} xrayVLESSRealityPort=$(jq -r .inbounds[0].port "${row}.json") - realityDomainPort=$(jq -r .inbounds[0].streamSettings.realitySettings.dest "${row}.json"|awk -F '[:]' '{print $2}') + realityDomainPort=$(jq -r .inbounds[0].streamSettings.realitySettings.dest "${row}.json" | awk -F '[:]' '{print $2}') currentRealityPublicKey=$(jq -r .inbounds[0].streamSettings.realitySettings.publicKey "${row}.json") currentRealityPrivateKey=$(jq -r .inbounds[0].streamSettings.realitySettings.privateKey "${row}.json") @@ -6621,7 +6621,10 @@ ipv6Routing() { removeSingBoxConfig IPv6_route + removeSingBoxConfig 01_direct_outbound + addSingBoxOutbound IPv6_out + fi echoContent green " ---> IPv6全局出站设置完毕" @@ -7140,10 +7143,9 @@ warpRoutingReg() { if [[ -n "${singBoxConfigPath}" ]]; then - removeSingBoxConfig direct - removeSingBoxConfig IPv4_out removeSingBoxConfig IPv6_out + removeSingBoxConfig 01_direct_outbound # 删除所有分流规则 removeSingBoxConfig wireguard_out_IPv4_route @@ -7409,6 +7411,7 @@ setSocks5OutboundRoutingAll() { removeSingBoxConfig wireguard_outbound removeSingBoxConfig socks5_outbound_route + removeSingBoxConfig 01_direct_outbound fi echoContent green " ---> Socks5全局出站设置完毕" @@ -9716,7 +9719,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v3.3.24" + echoContent green "当前版本:v3.3.25" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus