From 0f928694fd5fa33ba11f9130afb843485bb57ab9 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Wed, 2 Aug 2023 22:06:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=84=9A=E6=9C=AC):=20=E5=A2=9E=E5=8A=A0r?= =?UTF-8?q?eality=E5=9F=9F=E5=90=8D=E7=99=BD=E5=AB=96=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0fc2605..5318cbf 100644 --- a/install.sh +++ b/install.sh @@ -58,7 +58,7 @@ checkSystem() { removeType='yum -y remove' upgrade="yum update -y --skip-broken" checkCentosSELinux - elif [[ -f "/etc/issue" ]] && grep 无法使用托管在cloudflare并开启代理的域名,使用此类型域名可能导致VPS流量被其他人使用,退出安装。" + exit 0 + fi +} + # 初始化reality dest initRealityDest() { if [[ -n "${domain}" ]]; then @@ -7617,6 +7627,7 @@ initRealityDest() { echoContent red "\n ---> 域名不合规范,请重新输入" initRealityDest else + checkRealityDest echoContent yellow "\n ---> 回落域名: ${realityDestDomain}" fi fi @@ -7876,7 +7887,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.10.6" + echoContent green "当前版本:v2.10.7" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus