Skip to content

Commit

Permalink
fix: add callback for addFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Sculas committed Jun 22, 2022
1 parent 8a49dcc commit 87ffaa4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/kotlin/app/revanced/utils/patcher/Patcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ fun Patcher.applyPatchesVerbose() {
}

fun Patcher.mergeFiles() {
this.addFiles(args.pArgs!!.mergeFiles)
this.addFiles(args.pArgs!!.mergeFiles) {
println("[merged] ${it.name}")
}
}

0 comments on commit 87ffaa4

Please sign in to comment.