1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

Retrieve lastest version from github api

This commit is contained in:
v2ray 2016-02-21 18:02:49 +01:00
parent 1435a51aa3
commit bc0819c05f

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"