mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: Stop patch when signing fails (#1553)
This commit is contained in:
parent
088a3b7c28
commit
5b2c55142e
1 changed files with 1 additions and 7 deletions
|
@ -401,13 +401,7 @@ class MainActivity : FlutterActivity() {
|
|||
|
||||
updateProgress(0.8, "Signing...", "Signing APK")
|
||||
|
||||
try {
|
||||
Signer("ReVanced", keystorePassword)
|
||||
.signApk(patchedFile, outFile, keyStoreFile)
|
||||
} catch (e: Exception) {
|
||||
print("Error signing APK: ${e.message}")
|
||||
e.printStackTrace()
|
||||
}
|
||||
Signer("ReVanced", keystorePassword).signApk(patchedFile, outFile, keyStoreFile)
|
||||
|
||||
updateProgress(.85, "Patched", "Patched APK")
|
||||
} catch (ex: Throwable) {
|
||||
|
|
Loading…
Reference in a new issue