Skip to content

Commit 2f265e7

Browse files
committed
fix(脚本): 修复特定协议下无法读取uuid的问题
1 parent 085e415 commit 2f265e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ readConfigHostPathUUID() {
871871
if echo ${currentInstallProtocolType} | grep -q ",7,"; then
872872

873873
currentClients=$(jq -r .inbounds[0].settings.clients ${configPath}07_VLESS_vision_reality_inbounds.json)
874-
874+
currentUUID=$(jq -r .inbounds[0].settings.clients[0].id ${configPath}07_VLESS_vision_reality_inbounds.json)
875875
xrayVLESSRealityVisionPort=$(jq -r .inbounds[0].port ${configPath}07_VLESS_vision_reality_inbounds.json)
876876
if [[ "${currentPort}" == "${xrayVLESSRealityVisionPort}" ]]; then
877877
xrayVLESSRealityVisionPort="${currentDefaultPort}"
@@ -9432,7 +9432,7 @@ menu() {
94329432
cd "$HOME" || exit
94339433
echoContent red "\n=============================================================="
94349434
echoContent green "作者:mack-a"
9435-
echoContent green "当前版本:v3.4.29"
9435+
echoContent green "当前版本:v3.4.30"
94369436
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
94379437
echoContent green "描述:八合一共存脚本\c"
94389438
showInstallStatus

0 commit comments

Comments
 (0)