revanced-patcher icon indicating copy to clipboard operation
revanced-patcher copied to clipboard

feat: `ApkPatch`

Open d4rkk3y opened this issue 1 year ago • 0 comments

Type

Functionality

Issue

Afaik, there are only 2 patch(BytecodePatch and ResourcePatch) at the moment. And ResourcePatch will not work if there is a resource decode problem with apktool. So with ApkPatch(or other name suitable) can at least help add raw resources to assets in some case.

Feature

It is a patch can edit the apk by add, remove or edit the file in apk like file in assets, lib, ...

Motivation

I see some people complain about the universal apk size. So which this ApkPatch it help to add a patch to reduce the apk size by remove unnecessary file in apk like not target shared library. In addition, it can also help add raw resources to assets if there is a patch need it and the apk's resources can not be decoded.

Additional context

No response

d4rkk3y avatar Sep 19 '22 11:09 d4rkk3y