feat, refactor: entitlement merging, MainExecutable

This commit is contained in:
zx
2024-09-18 21:39:02 -04:00
parent 2d16015c78
commit c1c0b2294e
7 changed files with 153 additions and 104 deletions

View File

@@ -61,6 +61,8 @@ def main(parser: ArgumentParser) -> None:
app.plist.change_minimum_version(args.m)
if args.k is not None:
app.change_icon(args.k, tmpdir)
if args.x is not None: # `validate_inputs()` made it a dict
app.executable.merge_entitlements(args.x, tmpdir)
if args.remove_supported_devices:
app.plist.remove_uisd()