mirror of
https://github.com/XrayR-project/XrayR-release.git
synced 2025-08-18 15:21:47 +00:00
Update install.sh
This commit is contained in:
@@ -127,7 +127,7 @@ install_XrayR() {
|
|||||||
last_version="v"$1
|
last_version="v"$1
|
||||||
fi
|
fi
|
||||||
url="https://github.com/XrayR-project/XrayR/releases/download/${last_version}/XrayR-linux-${arch}.zip"
|
url="https://github.com/XrayR-project/XrayR/releases/download/${last_version}/XrayR-linux-${arch}.zip"
|
||||||
echo -e "开始安装 XrayR v$1"
|
echo -e "开始安装 XrayR ${last_version}"
|
||||||
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
|
||||||
echo -e "${red}下载 XrayR ${last_version} 失败,请确保此版本存在${plain}"
|
echo -e "${red}下载 XrayR ${last_version} 失败,请确保此版本存在${plain}"
|
||||||
|
Reference in New Issue
Block a user