From bf4ffa275a0f84a0f847a3276643116552c3367e Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Thu, 15 Jun 2023 16:45:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E5=AE=89=E8=A3=85h?= =?UTF-8?q?ysteria=E7=9A=84=E6=97=B6=E5=A2=9E=E5=8A=A0=E5=AF=B9=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E7=B1=BB=E5=9E=8B=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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