problem: listing patches requires input apk again
🐞 Issue
i wanna look at the changes in patches file (to include/exclude new patches), but cli gives me an error Error: Missing required argument(s): --apk=<inputFile>
⚙ Reproduce
i use revanced aur package. command: revanced-cli (just alias to java -jar /usr/share/revanced/revanced-cli.jar) -b /usr/share/revanced/revanced-patches.jar -l
🛠 Solution
selecting vanilla youtube input apk is the solution
⚠ Additional context
Wrong usage. -a youtube.apk is missing.
this is definitely a regression
but i could list patches without youtube.apk before
introduced here https://github.com/revanced/revanced-cli/commit/131100ef0043924a9c11eb9886b4f6b0373690d9
@Itroublve also --uninstall argument need input apk. why program have to use file on pc to uninstall youtube on phone? i don't think it should work this way
Just to add my findings here that no one would care: The -a flag for the listing apparently will not care what you're passing, so something like java -jar CLI.jar -a NeverGonnaGiveYouUp -b Patches.jar -l still works...