Disable building root apks

This commit is contained in:
SinTan1729 2022-10-09 17:53:35 -05:00 committed by GitHub
parent 85e5ed0ca0
commit c6b18f3225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,11 +89,11 @@ echo "************************************"
mkdir -p build mkdir -p build
if [ -f "com.google.android.youtube.apk" ]; then if [ -f "com.google.android.youtube.apk" ]; then
echo "Building Root APK" # echo "Building Root APK"
java -jar revanced-cli.jar -m revanced-integrations.apk -b revanced-patches.jar --mount \ # java -jar revanced-cli.jar -m revanced-integrations.apk -b revanced-patches.jar --mount \
-e microg-support ${patches[@]} \ # -e microg-support ${patches[@]} \
$EXPERIMENTAL \ # $EXPERIMENTAL \
-a com.google.android.youtube.apk -o build/revanced-root.apk # -a com.google.android.youtube.apk -o build/revanced-root.apk
echo "Building Non-root APK" echo "Building Non-root APK"
java -jar revanced-cli.jar -m revanced-integrations.apk -b revanced-patches.jar \ java -jar revanced-cli.jar -m revanced-integrations.apk -b revanced-patches.jar \
${patches[@]} \ ${patches[@]} \
@ -107,11 +107,11 @@ echo "************************************"
echo "Building YouTube Music APK" echo "Building YouTube Music APK"
echo "************************************" echo "************************************"
if [ -f "com.google.android.apps.youtube.music.apk" ]; then if [ -f "com.google.android.apps.youtube.music.apk" ]; then
echo "Building Root APK" # echo "Building Root APK"
java -jar revanced-cli.jar -b revanced-patches.jar --mount \ # java -jar revanced-cli.jar -b revanced-patches.jar --mount \
-e microg-support ${patches[@]} \ # -e microg-support ${patches[@]} \
$EXPERIMENTAL \ # $EXPERIMENTAL \
-a com.google.android.apps.youtube.music.apk -o build/revanced-music-root.apk # -a com.google.android.apps.youtube.music.apk -o build/revanced-music-root.apk
echo "Building Non-root APK" echo "Building Non-root APK"
java -jar revanced-cli.jar -b revanced-patches.jar \ java -jar revanced-cli.jar -b revanced-patches.jar \
${patches[@]} \ ${patches[@]} \