From 1b09f1307cb730c7f933b6ec232c833df49735d4 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Tue, 25 Oct 2022 13:57:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=AB=AF=E5=8F=A3=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E8=BF=98=E6=98=AF443=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 3d29d9e..cfb29f3 100644 --- a/install.sh +++ b/install.sh @@ -430,7 +430,7 @@ readConfigHostPathUUID() { if [[ -n "${defaultPortFile}" ]]; then currentDefaultPort=$(echo "${defaultPortFile}" | awk -F [_] '{print $4}') else - currentDefaultPort=443 + currentDefaultPort=$(jq -r .inbounds[0].port ${configPath}02_VLESS_TCP_inbounds.json) fi fi @@ -1198,7 +1198,7 @@ customPortFunction() { if ((customPort >= 1 && customPort <= 65535)); then checkCustomPort else - echoContent green " ---> 端口输入错误" + echoContent red " ---> 端口输入错误" exit fi else @@ -5000,7 +5000,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.6.2" + echoContent green "当前版本:v2.6.3" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus