From c9941fe182e11066c34c3d390352862bb0f95ca2 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 14 Apr 2022 22:59:56 +0200 Subject: [PATCH] fix: resolve signatures before applying patches Signed-off-by: oSumAtrIX --- src/main/kotlin/app/revanced/cli/Main.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/app/revanced/cli/Main.kt b/src/main/kotlin/app/revanced/cli/Main.kt index 2407a79..3aff380 100644 --- a/src/main/kotlin/app/revanced/cli/Main.kt +++ b/src/main/kotlin/app/revanced/cli/Main.kt @@ -58,6 +58,8 @@ class Main { val patches = Patches.loadPatches().map { it() } patcher.addPatches(patches) + patcher.resolveSignatures() + val amount = patches.size.toLong() bar.reset().maxHint(amount) .extraMessage = "Applying patches"