refactor: use python zipfile

this might cause some issues with some specific apps bc of that stupid 1980 error thingy, but idc
This commit is contained in:
zx
2024-09-05 22:50:48 -04:00
parent 6addd38674
commit c399faeb00
6 changed files with 33 additions and 24 deletions

View File

@@ -27,11 +27,20 @@ def main() -> None:
help="a tweak to inject/item to be added to the bundle"
)
parser.add_argument(
"-c", "--compress", metavar="level", type=int, default=6,
help="the compression level of the ipa (0-9, defaults to 6)",
action="store", choices=range(0, 10)
)
parser.add_argument(
"--ignore-encrypted", action="store_true",
help="skip main binary encryption check"
)
parser.add_argument(
"-v", "--version", action="version", version="cyan v1.0b"
)
from cyan import logic
logic.main(parser)