feat(脚本): 安装hysteria的时增加对安装类型的判断

master v2.9.16
mack-a 2023-06-15 16:45:47 +08:00
parent 84b87e197e
commit bf4ffa275a
1 changed files with 3 additions and 4 deletions

View File

@ -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 "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus