mirror of https://github.com/mack-a/v2ray-agent
feat(脚本): 添加单独安装reality时不可修改伪装站点
parent
cc00d98048
commit
1f81ecf215
11
install.sh
11
install.sh
|
@ -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 "Github:https://github.com/mack-a/v2ray-agent"
|
||||
echoContent green "描述:八合一共存脚本\c"
|
||||
showInstallStatus
|
||||
|
|
Loading…
Reference in New Issue