From db62a1607b4a9d6256b5f5153decb088d9680553 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 16 Aug 2023 16:53:19 +0200 Subject: [PATCH] fix: log decoding resources after logging deleting resource cache directory --- src/main/kotlin/app/revanced/patcher/Patcher.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patcher/Patcher.kt b/src/main/kotlin/app/revanced/patcher/Patcher.kt index ad0d0d3..5cbaab1 100644 --- a/src/main/kotlin/app/revanced/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/patcher/Patcher.kt @@ -209,10 +209,10 @@ class Patcher(private val options: PatcherOptions) { try { when (mode) { ResourceDecodingMode.FULL -> { - logger.info("Decoding resources") - val outDir = options.recreateResourceCacheDirectory() + logger.info("Decoding resources") + resourcesDecoder.decodeResources(outDir) resourcesDecoder.decodeManifest(outDir)