diff --git a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt index 1298ac24..14ddf821 100644 --- a/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/PatchCommand.kt @@ -179,7 +179,7 @@ internal object PatchCommand: Runnable { PatcherOptions( apk, resourceCachePath, - aaptBinaryPath.absolutePath, + aaptBinaryPath.path, resourceCachePath.absolutePath, PatcherLogger ) @@ -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(", ")}" } )