Skip to content

Commit

Permalink
test autopatchers files
Browse files Browse the repository at this point in the history
  • Loading branch information
moxiu33 committed Feb 3, 2025
1 parent eab4d38 commit d0df7cd
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions yt-music/autopatch/test/patch_arm64_v8a.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
set INPUT_APK=C:\path\to\com.google.android.apps.youtube.music_7.29.52-arm64-v8a-revanced.apk
set OUTPUT_DIR=C:\revanced-patching\revaned-cli\revanced-cli\build\distributions\revanced-cli-5.0.0\revanced-cli-5.0.0\bin\apk-output
set PATCHES_FILE=C:\path\to\patches-5.10.0.rvp

rem Run the patching command
revanced-cli.bat patch --patches %PATCHES_FILE% -o %OUTPUT_DIR% -e "Hide 'Get Music Premium' label" -e "Remove upgrade button" -e "Bypass certificate checks" -e "Remove background playback restrictions" -e "Hide music video ads" -e "GmsCore support" -e "Spoof client" %INPUT_APK%

rem Keep the window open after execution
pause
10 changes: 10 additions & 0 deletions yt-music/autopatch/test/patch_armeabi_v7a.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
set INPUT_APK=C:\path\to\com.google.android.apps.youtube.music_7.29.52-armeabi-v7a-revanced.apk
set OUTPUT_DIR=C:\revanced-patching\revaned-cli\revanced-cli\build\distributions\revanced-cli-5.0.0\revanced-cli-5.0.0\bin\apk-output
set PATCHES_FILE=C:\path\to\patches-5.10.0.rvp

rem Run the patching command
revanced-cli.bat patch --patches %PATCHES_FILE% -o %OUTPUT_DIR% -e "Hide 'Get Music Premium' label" -e "Remove upgrade button" -e "Bypass certificate checks" -e "Remove background playback restrictions" -e "Hide music video ads" -e "GmsCore support" -e "Spoof client" %INPUT_APK%

rem Keep the window open after execution
pause
10 changes: 10 additions & 0 deletions yt-music/autopatch/test/patch_x86_64.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@echo off
set INPUT_APK=C:\path\to\com.google.android.apps.youtube.music_7.29.52-x86_64-revanced.apk
set OUTPUT_DIR=C:\revanced-patching\revaned-cli\revanced-cli\build\distributions\revanced-cli-5.0.0\revanced-cli-5.0.0\bin\apk-output
set PATCHES_FILE=C:\path\to\patches-5.10.0.rvp

rem Run the patching command
revanced-cli.bat patch --patches %PATCHES_FILE% -o %OUTPUT_DIR% -e "Hide 'Get Music Premium' label" -e "Remove upgrade button" -e "Bypass certificate checks" -e "Remove background playback restrictions" -e "Hide music video ads" -e "GmsCore support" -e "Spoof client" %INPUT_APK%

rem Keep the window open after execution
pause

0 comments on commit d0df7cd

Please sign in to comment.