diff --git a/install.sh b/install.sh index 7f84dda..3b744ef 100644 --- a/install.sh +++ b/install.sh @@ -6437,9 +6437,8 @@ xrayCoreInstall() { # Hysteria安装 hysteriaCoreInstall() { - if [[ -z "${coreInstallType}" ]]; then - echoContent red "\n ---> 由于环境依赖,如安装hysteria,请先安装Xray/V2ray" - menu + if ! echo "${currentInstallProtocolType}" | grep -q "0" || [[ -z "${coreInstallType}" ]]; then + echoContent red "\n ---> 由于环境依赖,如安装hysteria,请先安装Xray-core的VLESS_TCP_TLS" exit 0 fi totalProgress=5 @@ -7332,7 +7331,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.9.15" + echoContent green "当前版本:v2.9.16" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus