Skip to content

Commit

Permalink
use new patcher api
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jun 17, 2024
1 parent 51773f3 commit 948757d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/app/revanced/cli/command/PatchCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,11 @@ internal object PatchCommand : Runnable {
// region Patch

patcher.context.packageMetadata.packageName to patcher.apply {
accept(filteredPatches, integrations)
this += filteredPatches to integrations

// Execute patches.
runBlocking {
apply(false).collect { patchResult ->
execute().collect { patchResult ->
patchResult.exception?.let {
StringWriter().use { writer ->
it.printStackTrace(PrintWriter(writer))
Expand Down

0 comments on commit 948757d

Please sign in to comment.