File tree 2 files changed +3
-6
lines changed
src/main/kotlin/app/revanced
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,9 @@ object Signing {
18
18
// the reason is, in case the signer fails
19
19
// it does not damage the output file
20
20
println (" [signing]" )
21
- val keyStore = Signer (signingOptions).signApk(alignedOutput, signedOutput)
21
+ Signer (signingOptions).signApk(alignedOutput, signedOutput)
22
22
23
- // afterwards copy over the file and the keystore to the output
23
+ // afterwards copy over the file to the output
24
24
signedOutput.copyTo(outputFile, true )
25
- keyStore.copyTo(outputFile.resolveSibling(keyStore.name), true )
26
25
}
27
26
}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ internal class Signer(
49
49
return JcaX509CertificateConverter ().getCertificate(builder.build(signer)) to pair.private
50
50
}
51
51
52
- fun signApk (input : File , output : File ): File {
52
+ fun signApk (input : File , output : File ) {
53
53
Security .addProvider(BouncyCastleProvider ())
54
54
55
55
// TODO: keystore should be saved securely
@@ -74,7 +74,5 @@ internal class Signer(
74
74
signer.setOutputApk(output)
75
75
76
76
signer.build().sign()
77
-
78
- return ks
79
77
}
80
78
}
You can’t perform that action at this time.
0 commit comments