|
|
|
@ -907,7 +907,8 @@ install_v2ray() { |
|
|
|
|
mkdir -p /tmp/v2ray |
|
|
|
|
|
|
|
|
|
v2ray_tmp_file="/tmp/v2ray/v2ray.zip" |
|
|
|
|
v2ray_ver="$(curl -s https://api.github.com/repos/v2ray/v2ray-core/releases/latest | grep 'tag_name' | cut -d\" -f4)" |
|
|
|
|
# v2ray_ver="$(curl -s https://api.github.com/repos/v2ray/v2ray-core/releases/latest | grep 'tag_name' | cut -d\" -f4)" |
|
|
|
|
v2ray_ver="v3.46" |
|
|
|
|
v2ray_download_link="https://github.com/v2ray/v2ray-core/releases/download/$v2ray_ver/v2ray-linux-${v2ray_bit}.zip" |
|
|
|
|
|
|
|
|
|
if ! wget --no-check-certificate -O "$v2ray_tmp_file" $v2ray_download_link; then |
|
|
|
|