feat(cgen): plist and entitlement merging

This commit is contained in:
zx
2024-11-26 22:21:13 -05:00
parent e09351287b
commit 86e45cc186
4 changed files with 26 additions and 1 deletions

View File

@@ -253,6 +253,12 @@ def parse_cyan(args: dict[str, Any], tmpdir: str) -> None:
if "k" in config:
args["k"] = zf.extract("icon.idk", DOT_PATH)
del config["k"]
if "l" in config:
args["l"] = zf.extract("merge.plist", DOT_PATH)
del config["l"]
if "x" in config:
args["x"] = zf.extract("new.entitlements", DOT_PATH)
del config["x"]
for k, v in config.items():
args[k] = v