Update build-rv.sh

This commit is contained in:
Fioren 2023-05-04 08:45:29 +07:00 committed by GitHub
parent 35bee5b6c8
commit 2d2f881774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ asset=$(echo "$release" | jq -r '.assets[] | select(.name == "revanced-version.t
curl -sL -O "$asset"
if diff -q revanced-version.txt new.txt >/dev/null ; then
echo "Old patch!!! Not build"
exit 0
exit 1
else
rm -f *.txt
@ -69,4 +69,4 @@ get_apk_arch "youtube-music" "youtube-music" "google-inc/youtube-music/youtube-m
patch "youtube-music" "youtube-music-revanced"
ls revanced-patches*.jar >> revanced-version.txt
fi
fi