mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-08-25 08:40:50 +02:00
use new patcher api
This commit is contained in:
parent
51773f30bc
commit
948757d597
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user