pull/95/head
233boy 6 years ago
parent a66c4dd102
commit e20ae16292
  1. 2
      install.sh
  2. 4
      v2ray.sh

@ -119,7 +119,7 @@ v2ray_config() {
read -p "$(echo -e "(默认协议: ${cyan}TCP$none)"):" v2ray_transport read -p "$(echo -e "(默认协议: ${cyan}TCP$none)"):" v2ray_transport
[ -z "$v2ray_transport" ] && v2ray_transport=1 [ -z "$v2ray_transport" ] && v2ray_transport=1
case $v2ray_transport in case $v2ray_transport in
[1-9] | 1[0-9] | 20) [1-9] | [1-2][0-9] | 3[0-2])
echo echo
echo echo
echo -e "$yellow V2Ray 传输协议 = $cyan${transport[$v2ray_transport - 1]}$none" echo -e "$yellow V2Ray 传输协议 = $cyan${transport[$v2ray_transport - 1]}$none"

@ -10,7 +10,7 @@ none='\e[0m'
# Root # Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v3.08-test" _version="v3.09-test"
cmd="apt-get" cmd="apt-get"
@ -887,7 +887,7 @@ change_v2ray_transport() {
break break
fi fi
;; ;;
[1-9] | 1[0-9] | 20) [1-9] | [1-2][0-9] | 3[0-2])
echo echo
echo echo
echo -e "$yellow V2Ray 传输协议 = $cyan${transport[$v2ray_transport_opt - 1]}$none" echo -e "$yellow V2Ray 传输协议 = $cyan${transport[$v2ray_transport_opt - 1]}$none"

Loading…
Cancel
Save