diff --git a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt index c4c89f9..3f9c22a 100644 --- a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt @@ -106,8 +106,6 @@ internal object MainCommand : Runnable { Patcher.start(patcher, patchedFile) - println("[aligning & signing]") - if (!args.mount) { Signing.start( patchedFile, diff --git a/src/main/kotlin/app/revanced/cli/signing/Signing.kt b/src/main/kotlin/app/revanced/cli/signing/Signing.kt index ca826c6..01e8727 100644 --- a/src/main/kotlin/app/revanced/cli/signing/Signing.kt +++ b/src/main/kotlin/app/revanced/cli/signing/Signing.kt @@ -12,10 +12,12 @@ object Signing { val signedOutput = cacheDirectory.resolve("${outputFile.nameWithoutExtension}_signed.apk") // align the inputFile and write to alignedOutput + println("[aligning]") ZipAligner.align(inputFile, alignedOutput) // sign the alignedOutput and write to signedOutput // the reason is, in case the signer fails // it does not damage the output file + println("[signing]") val keyStore = Signer(signingOptions).signApk(alignedOutput, signedOutput) // afterwards copy over the file and the keystore to the output