浏览代码

fix: fix install given vision

pocketW 3 年之前
父节点
当前提交
186ccc9526
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -122,7 +122,7 @@ install_XrayR() {
         fi
     else
         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"
         wget -q -N --no-check-certificate -O /usr/local/XrayR/XrayR-linux.zip ${url}
         if [[ $? -ne 0 ]]; then