Skip to content

Commit

Permalink
fix(脚本): 修改自定义端口查询账号还是443的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mack-a committed Oct 25, 2022
1 parent 0fe8c87 commit bf16e27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ readConfigHostPathUUID() {
if [[ -n "${defaultPortFile}" ]]; then
currentDefaultPort=$(echo "${defaultPortFile}" | awk -F [_] '{print $4}')
else
currentDefaultPort=443
currentDefaultPort=$(jq -r .inbounds[0].port ${configPath}02_VLESS_TCP_inbounds.json)
fi

fi
Expand Down Expand Up @@ -1198,7 +1198,7 @@ customPortFunction() {
if ((customPort >= 1 && customPort <= 65535)); then
checkCustomPort
else
echoContent green " ---> 端口输入错误"
echoContent red " ---> 端口输入错误"
exit
fi
else
Expand Down Expand Up @@ -5000,7 +5000,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
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 "描述:八合一共存脚本\c"
showInstallStatus
Expand Down

0 comments on commit bf16e27

Please sign in to comment.