mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修改首次安装因为判断导致无法读取IP的问题
parent
dfd5edcbc1
commit
c3d9724831
|
@ -503,7 +503,7 @@ getPublicIP() {
|
||||||
if [[ -n "$1" ]]; then
|
if [[ -n "$1" ]]; then
|
||||||
type=$1
|
type=$1
|
||||||
fi
|
fi
|
||||||
if [[ "${currentRealityServerNames}" == "${currentHost}" ]]; then
|
if [[ -n "${currentHost}" && -n "${currentRealityServerNames}" && "${currentRealityServerNames}" == "${currentHost}" ]]; then
|
||||||
echo "${currentHost}"
|
echo "${currentHost}"
|
||||||
else
|
else
|
||||||
local currentIP=
|
local currentIP=
|
||||||
|
@ -7897,7 +7897,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.10.10"
|
echoContent green "当前版本:v2.10.11"
|
||||||
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