mirror of
https://github.com/mack-a/v2ray-agent.git
synced 2026-09-02 13:56:37 +00:00
fix(脚本): 修复特定协议下无法读取uuid的问题
This commit is contained in:
+2
-2
@@ -871,7 +871,7 @@ readConfigHostPathUUID() {
|
|||||||
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)
|
currentClients=$(jq -r .inbounds[0].settings.clients ${configPath}07_VLESS_vision_reality_inbounds.json)
|
||||||
|
currentUUID=$(jq -r .inbounds[0].settings.clients[0].id ${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}"
|
||||||
@@ -9432,7 +9432,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.4.29"
|
echoContent green "当前版本:v3.4.30"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|||||||
Reference in New Issue
Block a user