diff --git a/install.sh b/install.sh index 8ddedc2..24129a1 100644 --- a/install.sh +++ b/install.sh @@ -119,7 +119,7 @@ v2ray_config() { read -p "$(echo -e "(默认协议: ${cyan}TCP$none)"):" v2ray_transport [ -z "$v2ray_transport" ] && v2ray_transport=1 case $v2ray_transport in - [1-9] | 1[0-9] | 20) + [1-9] | [1-2][0-9] | 3[0-2]) echo echo echo -e "$yellow V2Ray 传输协议 = $cyan${transport[$v2ray_transport - 1]}$none" diff --git a/v2ray.sh b/v2ray.sh index 1ba2596..bbe6f65 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.08-test" +_version="v3.09-test" cmd="apt-get" @@ -887,7 +887,7 @@ change_v2ray_transport() { break fi ;; - [1-9] | 1[0-9] | 20) + [1-9] | [1-2][0-9] | 3[0-2]) echo echo echo -e "$yellow V2Ray 传输协议 = $cyan${transport[$v2ray_transport_opt - 1]}$none"