Update v2ray.sh

pull/971/head
TelksBr 3 years ago committed by GitHub
parent 65a28dea65
commit 4cb14985ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      v2ray.sh

@ -2384,7 +2384,7 @@ update_v2ray() {
} }
update_v2ray.sh() { update_v2ray.sh() {
if [[ $_test ]]; then if [[ $_test ]]; then
local latest_version=$(curl -H 'Cache-Control: no-cache' -s -L "https://raw.githubusercontent.com/233boy/v2ray/test/v2ray.sh" | grep '_version' -m1 | cut -d\" -f2) local latest_version=$(curl -H 'Cache-Control: no-cache' -s -L "https://raw.githubusercontent.com/TelksBr/v2ray/master/v2ray.sh" | grep '_version' -m1 | cut -d\" -f2)
else else
local latest_version=$(curl -H 'Cache-Control: no-cache' -s -L "https://raw.githubusercontent.com/233boy/v2ray/master/v2ray.sh" | grep '_version' -m1 | cut -d\" -f2) local latest_version=$(curl -H 'Cache-Control: no-cache' -s -L "https://raw.githubusercontent.com/233boy/v2ray/master/v2ray.sh" | grep '_version' -m1 | cut -d\" -f2)
fi fi

Loading…
Cancel
Save