From e0344130476865412fc9988274d63802d1dd344a Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Sun, 8 Nov 2020 21:57:35 +0800 Subject: [PATCH] fix bug --- src/v2ray-info.sh | 4 ++-- v2ray.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v2ray-info.sh b/src/v2ray-info.sh index 3386fa8..0239f48 100644 --- a/src/v2ray-info.sh +++ b/src/v2ray-info.sh @@ -145,10 +145,10 @@ _v2_info() { echo -e "$yellow 伪装类型 (header type) = ${cyan}${header}$none" echo fi - if [[ $v2ray_transport -ge 18 ]] && [[ $ban_ad ]]; then + if [[ $v2ray_transport -ge 18 && $v2ray_transport -ne 33 ]] && [[ $ban_ad ]]; then echo " 备注: 动态端口已启用...广告拦截已开启..." echo - elif [[ $v2ray_transport -ge 18 ]]; then + elif [[ $v2ray_transport -ge 18 && $v2ray_transport -ne 33 ]]; then echo " 备注: 动态端口已启用..." echo elif [[ $ban_ad ]]; then diff --git a/v2ray.sh b/v2ray.sh index 2ad0d8d..b8f1895 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.40" +_version="v3.41" cmd="apt-get"