From 1c4df94d8915636c7841e919e87fe660a9c80f1c Mon Sep 17 00:00:00 2001 From: Radiquum Date: Tue, 2 Sep 2025 10:22:18 +0500 Subject: [PATCH] fix: end timer before apk signing in normal mode --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 39ee836..75b4003 100644 --- a/main.py +++ b/main.py @@ -66,10 +66,13 @@ if __name__ == "__main__": if not args.no_compile: compile_apk(f"{apk.removesuffix(".apk")}-patched.apk") - sign_apk(f"{apk.removesuffix(".apk")}-patched.apk") end_time = time() + if not args.no_compile: + sign_apk(f"{apk.removesuffix(".apk")}-patched.apk") + + log.info("Finished") log.info(f"install this apk file: {apk.removesuffix(".apk")}-patched-aligned-signed.apk") log.info(f"used and successful patches: {", ".join(statuses_ok)}")