From 51e091ce4021418508044029aa5af6aa7d5162a3 Mon Sep 17 00:00:00 2001 From: Lucaskyy Date: Wed, 22 Jun 2022 15:01:48 +0200 Subject: [PATCH] fix: remove logger from Signer.kt --- src/main/kotlin/app/revanced/utils/signing/Signer.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/utils/signing/Signer.kt b/src/main/kotlin/app/revanced/utils/signing/Signer.kt index 1bb4bd17..e33966c8 100644 --- a/src/main/kotlin/app/revanced/utils/signing/Signer.kt +++ b/src/main/kotlin/app/revanced/utils/signing/Signer.kt @@ -1,6 +1,5 @@ package app.revanced.utils.signing -import app.revanced.cli.command.MainCommand.logger import app.revanced.cli.signing.SigningOptions import com.android.apksig.ApkSigner import org.bouncycastle.asn1.x500.X500Name @@ -55,7 +54,9 @@ internal class Signer( // TODO: keystore should be saved securely val ks = File(signingOptions.keyStoreFilePath) - if (!ks.exists()) newKeystore(ks) else logger.info("Found existing keystore ${ks.nameWithoutExtension}") + if (!ks.exists()) newKeystore(ks) else { + println("found existing keystore: ${ks.nameWithoutExtension}") + } val keyStore = KeyStore.getInstance("BKS", "BC") FileInputStream(ks).use { fis -> keyStore.load(fis, null) }