Retrieve lastest version from github api

pull/91/head
v2ray 2016-02-21 18:02:49 +01:00
parent 1435a51aa3
commit bc0819c05f
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ if pgrep "v2ray" > /dev/null ; then
V2RAY_RUNNING=1
fi
VER="v1.7"
VER="$(curl -s https://api.github.com/repos/v2ray/v2ray-core/releases/latest | grep 'tag_name' | cut -d\" -f4)"
ARCH=$(uname -m)
VDIS="64"