fix(脚本): 修改自定义端口查询账号还是443的问题

pull/534/merge
mack-a 2022-10-25 13:57:16 +08:00
parent 9815adacf8
commit 1b09f1307c
1 changed files with 3 additions and 3 deletions

View File

@ -430,7 +430,7 @@ readConfigHostPathUUID() {
if [[ -n "${defaultPortFile}" ]]; then if [[ -n "${defaultPortFile}" ]]; then
currentDefaultPort=$(echo "${defaultPortFile}" | awk -F [_] '{print $4}') currentDefaultPort=$(echo "${defaultPortFile}" | awk -F [_] '{print $4}')
else else
currentDefaultPort=443 currentDefaultPort=$(jq -r .inbounds[0].port ${configPath}02_VLESS_TCP_inbounds.json)
fi fi
fi fi
@ -1198,7 +1198,7 @@ customPortFunction() {
if ((customPort >= 1 && customPort <= 65535)); then if ((customPort >= 1 && customPort <= 65535)); then
checkCustomPort checkCustomPort
else else
echoContent green " ---> 端口输入错误" echoContent red " ---> 端口输入错误"
exit exit
fi fi
else else
@ -5000,7 +5000,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.6.2" echoContent green "当前版本:v2.6.3"
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