From c61978a6849f865532a0c9d37c6193babc459efa Mon Sep 17 00:00:00 2001 From: 233boy Date: Sat, 3 Feb 2018 20:37:29 +0800 Subject: [PATCH] simple update --- v2ray.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v2ray.sh b/v2ray.sh index a7426b5..18ee02e 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="v1.3" +_version="v1.31" cmd="apt-get" @@ -163,7 +163,9 @@ get_transport_args() { esac } create_vmess_URL_config() { - get_transport_args + + [[ -z $net ]] && get_transport_args + if [[ $v2ray_transport == "4" ]]; then cat >/etc/v2ray/vmess_qr.json <<-EOF { @@ -1936,8 +1938,6 @@ get_v2ray_config_info_link() { } get_v2ray_config_qr_link() { - get_transport_args - create_vmess_URL_config if [[ $obfs ]]; then