mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-12 13:17:46 +01:00
fix: do not use absolute path from custom AAPT2 binary option
This commit is contained in:
parent
0dcd838de3
commit
a9c2a5f096
@ -179,7 +179,7 @@ internal object PatchCommand: Runnable {
|
|||||||
PatcherOptions(
|
PatcherOptions(
|
||||||
apk,
|
apk,
|
||||||
resourceCachePath,
|
resourceCachePath,
|
||||||
aaptBinaryPath.absolutePath,
|
aaptBinaryPath.path,
|
||||||
resourceCachePath.absolutePath,
|
resourceCachePath.absolutePath,
|
||||||
PatcherLogger
|
PatcherLogger
|
||||||
)
|
)
|
||||||
@ -291,8 +291,8 @@ internal object PatchCommand: Runnable {
|
|||||||
if (!matchesVersion) return@patch logger.warn(
|
if (!matchesVersion) return@patch logger.warn(
|
||||||
"${patch.patchName} is incompatible with version $packageVersion. " +
|
"${patch.patchName} is incompatible with version $packageVersion. " +
|
||||||
"This patch is only compatible with version " +
|
"This patch is only compatible with version " +
|
||||||
packages.joinToString(";") { `package` ->
|
packages.joinToString(";") { pkg ->
|
||||||
"${`package`.name}: ${`package`.versions.joinToString(", ")}"
|
"${pkg.name}: ${pkg.versions.joinToString(", ")}"
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user