mirror of
https://github.com/XTLS/Xray-install.git
synced 2025-03-14 18:33:52 +00:00
Fix install --beta (#85)
This commit is contained in:
parent
c83088d6c9
commit
6642e92697
1 changed files with 1 additions and 0 deletions
|
@ -395,6 +395,7 @@ get_latest_version() {
|
|||
fi
|
||||
"rm" "$tmp_file"
|
||||
RELEASE_LATEST="v${RELEASE_LATEST#v}"
|
||||
url='https://api.github.com/repos/XTLS/Xray-core/releases'
|
||||
if curl -x "${PROXY}" -sSfLo "$tmp_file" -H "Accept: application/vnd.github.v3+json" "$url"; then
|
||||
echo "get release list success"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue