1
0
Fork 0
mirror of https://github.com/Radiquum/anixart-patcher.git synced 2025-09-05 10:45:32 +05:00

feat: add patch init arg

This commit is contained in:
Kentai Radiquum 2025-09-03 16:40:15 +05:00
parent 2fef0a32b7
commit 2c8af07a67
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 69 additions and 7 deletions

View file

@ -1,7 +1,7 @@
from scripts.download_tools import check_and_download_all_tools
from scripts.select_apk import get_apks, select_apk
from scripts.select_patches import apply_patches, get_patches, select_patches
from scripts.utils import check_java_version, compile_apk, decompile_apk, sign_apk
from scripts.utils import check_java_version, compile_apk, decompile_apk, sign_apk, init_patch
from config import args, config, log, console
from time import time
@ -29,6 +29,10 @@ def patch():
if __name__ == "__main__":
check_and_download_all_tools()
check_java_version()
if args.init:
init_patch()
exit(0)
if not args.patch and not args.sign:
apks = get_apks()