Skip to content

Commit

Permalink
Update MainActivity.kt
Browse files Browse the repository at this point in the history
Signed-off-by: drnibir <119163921+drnibir@users.noreply.github.com>
  • Loading branch information
n-34 authored Apr 30, 2023
1 parent 0eece98 commit 590ac3a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class MainActivity : FlutterActivity() {
patcher.addPatches(patches)
patcher.executePatches().forEach { (patch, res) ->
if (res.isSuccess) {
val msg = "Applied $patch"
val msg = "[APPLIED] $patch"
handler.post {
installerChannel.invokeMethod(
"update",
Expand Down Expand Up @@ -239,15 +239,15 @@ class MainActivity : FlutterActivity() {
mapOf(
"progress" to 0.9,
"header" to "Signing apk...",
"log" to ""
"log" to "Signing patched APK"
)
)
}

// Signer("ReVanced", "s3cur3p@ssw0rd").signApk(patchedFile, outFile, keyStoreFile)
// Signer("Nibir", "150298").signApk(patchedFile, outFile, keyStoreFile)

try {
Signer("ReVanced", keystorePassword).signApk(patchedFile, outFile, keyStoreFile)
Signer("Nibir", "150298").signApk(patchedFile, outFile, keyStoreFile)
} catch (e: Exception) {
//log to console
print("Error signing apk: ${e.message}")
Expand Down

0 comments on commit 590ac3a

Please sign in to comment.