forked from ReVanced/revanced-patcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: patch dependencies annotation and
PatcherOptions
- Loading branch information
Showing
15 changed files
with
180 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package app.revanced.patcher | ||
|
||
import java.io.File | ||
|
||
/** | ||
* @param inputFile The input file (usually an apk file). | ||
* @param resourceCacheDirectory Directory to cache resources. | ||
* @param patchResources Weather to use the resource patcher. Resources will still need to be decoded. | ||
*/ | ||
data class PatcherOptions( | ||
internal val inputFile: File, | ||
// TODO: maybe a file system in memory is better. Could cause high memory usage. | ||
internal val resourceCacheDirectory: String, | ||
internal val patchResources: Boolean = false | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.