mirror of
https://github.com/revanced/revanced-cli.git
synced 2025-01-05 16:55:50 +01:00
feat: --custom-aapt2-binary
option (#104)
This commit is contained in:
parent
5f2bccc4e5
commit
d8dbffd7a7
@ -113,6 +113,9 @@ internal object MainCommand : Runnable {
|
||||
description = ["Clean the temporal resource cache directory. This will be done anyways when running the patcher"]
|
||||
)
|
||||
var clean: Boolean = false
|
||||
|
||||
@Option(names = ["--custom-aapt2-binary"], description = ["Path to custom aapt2 binary"])
|
||||
var aaptPath: String = ""
|
||||
}
|
||||
|
||||
override fun run() {
|
||||
@ -149,6 +152,7 @@ internal object MainCommand : Runnable {
|
||||
_args.inputFile,
|
||||
args.cacheDirectory,
|
||||
!args.disableResourcePatching,
|
||||
args.aaptPath,
|
||||
logger = PatcherLogger
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user