Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
fix: do not use absolute path from custom AAPT2 binary option
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Aug 23, 2023
1 parent 0dcd838 commit a9c2a5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/app/revanced/cli/command/PatchCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ internal object PatchCommand: Runnable {
PatcherOptions(
apk,
resourceCachePath,
aaptBinaryPath.absolutePath,
aaptBinaryPath.path,
resourceCachePath.absolutePath,
PatcherLogger
)
Expand Down Expand Up @@ -291,8 +291,8 @@ internal object PatchCommand: Runnable {
if (!matchesVersion) return@patch logger.warn(
"${patch.patchName} is incompatible with version $packageVersion. " +
"This patch is only compatible with version " +
packages.joinToString(";") { `package` ->
"${`package`.name}: ${`package`.versions.joinToString(", ")}"
packages.joinToString(";") { pkg ->
"${pkg.name}: ${pkg.versions.joinToString(", ")}"
}
)

Expand Down

0 comments on commit a9c2a5f

Please sign in to comment.