fix(脚本): 修复xray-core socks5全局分流规则展示

pull/1054/head
mack-a 2024-05-20 16:49:07 +08:00
parent d0843144e8
commit 513cba2e7d
1 changed files with 3 additions and 1 deletions

View File

@ -7009,6 +7009,8 @@ showXrayRoutingRules() {
if [[ "${coreInstallType}" == "1" ]]; then
if [[ -f "${configPath}09_routing.json" ]]; then
jq ".routing.rules[]|select(.outboundTag==\"$1\")" "${configPath}09_routing.json"
elif [[ "$1" == "socks5_outbound" && -f "${configPath}socks5_outbound.json" ]]; then
echoContent yellow "\n已安装 sing-box socks5全局出站分流"
fi
fi
}
@ -9168,7 +9170,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v3.2.53"
echoContent green "当前版本v3.2.54"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus