revanced-patcher
revanced-patcher copied to clipboard
feat: decode resources only when necessary
TODO:
- First decode resources then run patches
Implements https://github.com/revanced/revanced-patcher/issues/76
This will look like the patch takes long to run the patch
no as an appropriate log message is printed
before running the patches, check, a resource patch has been added and decode resources.
tell me how to do this without an instance
no as an appropriate log message is printed
While running the patches this would be random.
resource patch -> resources need to be decoded dont see how thats random
While running the patches this would be random.
This is why. The resources should be decoded before the patches are executed. Its separate steps and doing it randomly while the patches execute is random.
Things should always be done as late as possible its not random at all
While running the patches it doesn't make sense to decode the resources at the same time. Running the patches is one thing, decoding the resources a different. Doing the latter while the patches run is random. Please decode the resources before running the patches by checking if a resource patch has been supplied.
then answer my other question or ditch reflection already
I have answered your question in the previous message why it is random and reflection will be ditched when annotations are ditched. Please apply the requested changes.