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