From 25d5152e432f6aa579c39727f50935d9969b5b05 Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Thu, 25 Feb 2021 14:12:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=BD=93path=E8=B7=AF=E5=BE=84=E7=BB=93=E5=B0=BE=E6=98=AFv?= =?UTF-8?q?=E6=97=B6=E5=AF=BC=E8=87=B4VLESS=20CDN=20path=E8=AF=86=E5=88=AB?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index cc1edd2..1c76d85 100644 --- a/install.sh +++ b/install.sh @@ -187,7 +187,7 @@ readConfigHostPathUUID() { # jq .inbounds[0].settings.fallbacks.[].path ${configPath}02_VLESS_TCP_inbounds.json| awk -F "[\"][/]" '{print $2}' | awk -F "[\"]" '{print $1}' | tail -n +2 | head -n 1 if [[ -n "${path}" ]]; then - if [[ "${path:0-3}" == "vws" ]]; then + if [[ "${path:0-3}" == "vws" && ${#path} -gt 6 ]]; then currentPath=$(echo "${path}" | awk -F "[v][w][s]" '{print $1}') elif [[ "${path:0-2}" == "ws" ]]; then currentPath=$(echo "${path}" | awk -F "[w][s]" '{print $1}') @@ -3240,7 +3240,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.3.19" + echoContent green "当前版本:v2.3.20" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:七合一共存脚本" echoContent red "=============================================================="