mirror of
https://github.com/XrayR-project/XrayR-release.git
synced 2025-06-08 05:19:55 +00:00
fix: fix install given vision
This commit is contained in:
parent
b70481534e
commit
186ccc9526
@ -122,7 +122,7 @@ install_XrayR() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
last_version=$1
|
last_version=$1
|
||||||
url="https://github.com/XrayR-project/XrayR/releases/download/${last_version}/XrayR-linux-${arch}.zip"
|
url="https://github.com/XrayR-project/XrayR/releases/download/v${last_version}/XrayR-linux-${arch}.zip"
|
||||||
echo -e "开始安装 XrayR v$1"
|
echo -e "开始安装 XrayR v$1"
|
||||||
wget -q -N --no-check-certificate -O /usr/local/XrayR/XrayR-linux.zip ${url}
|
wget -q -N --no-check-certificate -O /usr/local/XrayR/XrayR-linux.zip ${url}
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user