feat(脚本): 全部安装或者个性化安装 reality时端口跟随 VLESS+tls_vision
parent
2685e90842
commit
64b06e3605
10
install.sh
10
install.sh
|
@ -5966,8 +5966,11 @@ initRealityPort() {
|
||||||
realityPort=${currentRealityPort}
|
realityPort=${currentRealityPort}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ -z "${realityPort}" ]]; then
|
# todo 读取到VLESS_TLS_Vision端口,直接使用。这里可能有歧义
|
||||||
echoContent yellow "请输入端口"
|
if [[ -n "${port}" ]]; then
|
||||||
|
realityPort=${port}
|
||||||
|
elif [[ -z "${realityPort}" ]]; then
|
||||||
|
echoContent yellow "请输入端口[建议443]"
|
||||||
read -r -p "端口:" realityPort
|
read -r -p "端口:" realityPort
|
||||||
if [[ -n "${realityPort}" && "${currentRealityPort}" == "${realityPort}" ]]; then
|
if [[ -n "${realityPort}" && "${currentRealityPort}" == "${realityPort}" ]]; then
|
||||||
handleXray stop
|
handleXray stop
|
||||||
|
@ -5981,6 +5984,7 @@ initRealityPort() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${realityPort}" ]]; then
|
if [[ -z "${realityPort}" ]]; then
|
||||||
initRealityPort
|
initRealityPort
|
||||||
else
|
else
|
||||||
|
@ -6102,7 +6106,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v2.7.29_reality_beta"
|
echoContent green "当前版本:v2.7.30_reality_beta"
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue