feat(脚本): 添加单独安装reality时不可修改伪装站点

pull/785/head
mack-a 2023-07-13 10:18:27 +08:00
parent cc00d98048
commit 1f81ecf215
1 changed files with 8 additions and 3 deletions

View File

@ -2960,7 +2960,7 @@ EOF
# Tuic安装
tuicCoreInstall() {
if ! echo "${currentInstallProtocolType}" | grep -q "0" || [[ -z "${coreInstallType}" ]]; then
echoContent red "\n ---> 由于环境依赖如安装Tuic请先安装Xray-core的VLESS_TCP_TLS"
echoContent red "\n ---> 由于环境依赖如安装Tuic请先安装Xray-core的VLESS_TCP_TLS_Vision"
exit 0
fi
totalProgress=5
@ -4501,6 +4501,11 @@ addNginx302() {
# 更新伪装站
updateNginxBlog() {
echoContent skyBlue "\n进度 $1/${totalProgress} : 更换伪装站点"
if ! echo "${currentInstallProtocolType}" | grep -q "0" || [[ -z "${coreInstallType}" ]]; then
echoContent red "\n ---> 由于环境依赖请先安装Xray-core的VLESS_TCP_TLS_Vision"
exit 0
fi
echoContent red "=============================================================="
echoContent yellow "# 如需自定义,请手动复制模版文件到 ${nginxStaticPath} \n"
echoContent yellow "1.新手引导"
@ -6790,7 +6795,7 @@ xrayCoreInstall() {
# Hysteria安装
hysteriaCoreInstall() {
if ! echo "${currentInstallProtocolType}" | grep -q "0" || [[ -z "${coreInstallType}" ]]; then
echoContent red "\n ---> 由于环境依赖如安装hysteria请先安装Xray-core的VLESS_TCP_TLS"
echoContent red "\n ---> 由于环境依赖如安装hysteria请先安装Xray-core的VLESS_TCP_TLS_Vision"
exit 0
fi
totalProgress=5
@ -7808,7 +7813,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v2.9.28"
echoContent green "当前版本v2.9.29"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus