From 233469f2902e9946fedbe920e6d0ebb4688c8f47 Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Mon, 23 Dec 2024 13:13:30 +0800 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fb8a820..1ad1707 100755 --- a/install.sh +++ b/install.sh @@ -171,7 +171,7 @@ case "$1" in ;; *) if [ "$china" = "1" ]; then - download_version=$(curl -s https://cdn.nickchan.lol/palera1n/c-rewrite/releases/ | grep 'a href="v' | grep -v beta | tail -n1 | cut -d'>' -f2 | cut -d/ -f1) + download_version=$(curl -s https://cdn.nickchan.lol/palera1n/c-rewrite/releases/ | grep 'a href="v' | grep -v 'v2.0.0-beta' | tail -n1 | cut -d'>' -f2 | cut -d/ -f1) else download_version=$(curl -s https://api.github.com/repos/palera1n/palera1n/releases | grep -m 1 -o '"tag_name": "[^"]*' | sed 's/"tag_name": "//') fi