소스 검색

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