Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfugil committed Dec 23, 2024
1 parent 16d6fd6 commit 233469f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 233469f

Please sign in to comment.