mirror of
https://github.com/Ryder-Sun/Meldwork.git
synced 2026-11-07 06:56:03 -10:00
Use the Qwen-generated bitmap with rasterized English install guidance, keep Finder root resources hidden by repointing the background into the signed app bundle, and update packaging coverage. Verified with the full desktop suite, focused packaging tests, codesign, and hdiutil.
18 lines
415 B
Python
18 lines
415 B
Python
#!/usr/bin/env python3
|
|
import sys
|
|
|
|
from ds_store import DSStore
|
|
from mac_alias import Alias
|
|
|
|
|
|
def main():
|
|
ds_store_path, background_path = sys.argv[1:3]
|
|
with DSStore.open(ds_store_path, "r+") as store:
|
|
icon_view = store["."]["icvp"]
|
|
icon_view["backgroundImageAlias"] = Alias.for_file(background_path).to_bytes()
|
|
store["."]["icvp"] = icon_view
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|