turns out ldid can already do this...

This commit is contained in:
zx
2024-09-18 22:02:51 -04:00
parent edd34f6713
commit 91494bc3a3
3 changed files with 7 additions and 25 deletions

View File

@@ -61,8 +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.x is not None:
app.executable.merge_entitlements(args.x)
if args.remove_supported_devices:
app.plist.remove_uisd()