fix(脚本): 修改只安装xtls导致伪站失效的问题

pull/534/merge
mack-a 2021-06-10 11:57:36 +08:00
parent ffb52e04ef
commit 452a8c8440
1 changed files with 7 additions and 1 deletions

View File

@ -2089,6 +2089,12 @@ EOF
]
}
EOF
if echo "${selectCustomInstallType}" | grep -q 5 || [[ "$1" == "all" ]];then
echo >/dev/null
else
# "h2",
sed -i "s/\"h2\",//g" $(grep "\"h2\"," -rl ${configPath}02_VLESS_TCP_inbounds.json)
fi
}
# 初始化Trojan-Go配置
@ -3780,7 +3786,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v2.4.40"
echoContent green "当前版本v2.4.41"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus