feat(脚本): 完善端口未开放提示

master
mack-a 2023-05-24 15:05:50 +08:00
parent 5b6596492f
commit 9f7efb0d6a
1 changed files with 6 additions and 1 deletions

View File

@ -1017,6 +1017,11 @@ EOF
echoContent green " ---> 检测到${port}端口已开放" echoContent green " ---> 检测到${port}端口已开放"
else else
echoContent green " ---> 未检测到${port}端口开放,退出安装" echoContent green " ---> 未检测到${port}端口开放,退出安装"
if echo "${checkPortOpenResult}" | grep -q "cloudflare"; then
echoContent yellow " ---> 请关闭云朵后等待三分钟重新尝试"
else
echoContent red " ---> 错误日志:${checkPortOpenResult}如果日志不为空可以提交issue反馈"
fi
exit 0 exit 0
fi fi
checkIP "${localIP}" checkIP "${localIP}"
@ -7074,7 +7079,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.9.3" echoContent green "当前版本v2.9.4"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent" echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c" echoContent green "描述:八合一共存脚本\c"
showInstallStatus showInstallStatus