feat: plist operations

This commit is contained in:
zx
2024-09-08 18:48:05 -04:00
parent 00cd5447b1
commit 5c0363b5a9
5 changed files with 100 additions and 13 deletions

View File

@@ -47,6 +47,14 @@ def main(parser: ArgumentParser) -> None:
if args.f is not None:
app.executable.inject(args.f, tmpdir)
if args.n is not None:
app.plist.change_name(args.n)
if args.v is not None:
app.plist.change_version(args.v)
if args.b is not None:
app.plist.change_bundle_id(args.b)
if args.m is not None:
app.plist.change_minimum_version(args.m)
if args.remove_supported_devices:
app.plist.remove_uisd()