From 87ffaa4bdb25cb85c6ba7195f5d3b13b09a5f912 Mon Sep 17 00:00:00 2001 From: Lucaskyy Date: Wed, 22 Jun 2022 16:42:02 +0200 Subject: [PATCH] fix: add callback for addFiles --- src/main/kotlin/app/revanced/utils/patcher/Patcher.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt index b78858ba..f6a0e567 100644 --- a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt @@ -66,5 +66,7 @@ fun Patcher.applyPatchesVerbose() { } fun Patcher.mergeFiles() { - this.addFiles(args.pArgs!!.mergeFiles) + this.addFiles(args.pArgs!!.mergeFiles) { + println("[merged] ${it.name}") + } }