fix(脚本): 修复xray-core下的reality无法添加用户的问题

pull/1006/head
mack-a 2024-03-18 11:37:22 +08:00
parent 8d4ce3337d
commit e7c57766d4
1 changed files with 3 additions and 1 deletions

View File

@ -741,6 +741,8 @@ readConfigHostPathUUID() {
# reality # reality
if echo ${currentInstallProtocolType} | grep -q ",7,"; then if echo ${currentInstallProtocolType} | grep -q ",7,"; then
currentClients=$(jq -r .inbounds[0].settings.clients ${configPath}07_VLESS_vision_reality_inbounds.json)
xrayVLESSRealityVisionPort=$(jq -r .inbounds[0].port ${configPath}07_VLESS_vision_reality_inbounds.json) xrayVLESSRealityVisionPort=$(jq -r .inbounds[0].port ${configPath}07_VLESS_vision_reality_inbounds.json)
if [[ "${currentPort}" == "${xrayVLESSRealityVisionPort}" ]]; then if [[ "${currentPort}" == "${xrayVLESSRealityVisionPort}" ]]; then
xrayVLESSRealityVisionPort="${currentDefaultPort}" xrayVLESSRealityVisionPort="${currentDefaultPort}"
@ -8717,7 +8719,7 @@ menu() {
cd "$HOME" || exit cd "$HOME" || exit
echoContent red "\n==============================================================" echoContent red "\n=============================================================="
echoContent green "作者mack-a" echoContent green "作者mack-a"
echoContent green "当前版本v3.2.26" echoContent green "当前版本v3.2.27"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent" echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c" echoContent green "描述:八合一共存脚本\c"
showInstallStatus showInstallStatus