Skip to content

Commit

Permalink
feat: --custom-aapt2-binary option (ReVanced#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
CnC-Robert authored Jul 21, 2022
1 parent 5f2bccc commit d8dbffd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/kotlin/app/revanced/cli/command/MainCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -149,6 +152,7 @@ internal object MainCommand : Runnable {
_args.inputFile,
args.cacheDirectory,
!args.disableResourcePatching,
args.aaptPath,
logger = PatcherLogger
)
)
Expand Down

0 comments on commit d8dbffd

Please sign in to comment.