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:
parent
1435a51aa3
commit
bc0819c05f
@ -62,7 +62,7 @@ if pgrep "v2ray" > /dev/null ; then
|
|||||||
V2RAY_RUNNING=1
|
V2RAY_RUNNING=1
|
||||||
fi
|
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)
|
ARCH=$(uname -m)
|
||||||
VDIS="64"
|
VDIS="64"
|
||||||
|
Loading…
Reference in New Issue
Block a user