mirror of
https://github.com/mack-a/v2ray-agent.git
synced 2026-01-12 16:35:38 +08:00
feat(脚本): 修复xray reality重新安装后无法使用问题
This commit is contained in:
@@ -489,6 +489,9 @@ readInstallProtocolType() {
|
||||
xrayVLESSRealityServerName=$(jq -r .inbounds[0].streamSettings.realitySettings.serverNames[0] "${row}.json")
|
||||
realityServerName=${xrayVLESSRealityServerName}
|
||||
xrayVLESSRealityPort=$(jq -r .inbounds[0].port "${row}.json")
|
||||
|
||||
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")
|
||||
|
||||
@@ -7269,7 +7272,7 @@ socks5Routing() {
|
||||
echoContent red "# 注意事项"
|
||||
echoContent yellow "# 流量明文访问"
|
||||
|
||||
echoContent yellow "# 只能用于不会被阻断访问的网络环境下的不同机器之间的流量转发,请不要用于代理访问"
|
||||
echoContent yellow "# 仅限正常网络环境下设备间流量转发,禁止用于代理访问。"
|
||||
echoContent yellow "# 使用教程:https://www.v2ray-agent.com/archives/1683226921000#heading-5 \n"
|
||||
|
||||
echoContent yellow "1.Socks5出站"
|
||||
@@ -9711,7 +9714,7 @@ menu() {
|
||||
cd "$HOME" || exit
|
||||
echoContent red "\n=============================================================="
|
||||
echoContent green "作者:mack-a"
|
||||
echoContent green "当前版本:v3.3.22"
|
||||
echoContent green "当前版本:v3.3.23"
|
||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||
echoContent green "描述:八合一共存脚本\c"
|
||||
showInstallStatus
|
||||
|
||||
Reference in New Issue
Block a user