mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-12 22:27:43 +00:00
feat: --custom-aapt2-binary option (#104)
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user