mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-11-19 01:59:25 +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"]
|
description = ["Clean the temporal resource cache directory. This will be done anyways when running the patcher"]
|
||||||
)
|
)
|
||||||
var clean: Boolean = false
|
var clean: Boolean = false
|
||||||
|
|
||||||
|
@Option(names = ["--custom-aapt2-binary"], description = ["Path to custom aapt2 binary"])
|
||||||
|
var aaptPath: String = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun run() {
|
override fun run() {
|
||||||
@ -149,6 +152,7 @@ internal object MainCommand : Runnable {
|
|||||||
_args.inputFile,
|
_args.inputFile,
|
||||||
args.cacheDirectory,
|
args.cacheDirectory,
|
||||||
!args.disableResourcePatching,
|
!args.disableResourcePatching,
|
||||||
|
args.aaptPath,
|
||||||
logger = PatcherLogger
|
logger = PatcherLogger
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user