Branchwell

PulseCanvas / app / packaging / macos / settings.py

1"""Finder presentation for the direct-download PulseCanvas Studio installer."""
2from pathlib import Path
3
4app = Path(defines["app"]).resolve()
5if not app.is_dir() or app.name != "PulseCanvas Studio.app":
6 raise ValueError("The installer requires an existing PulseCanvas Studio.app bundle")
7
8format = "UDZO"
9filesystem = "HFS+"
10files = [str(app)]
11symlinks = {"Applications": "/Applications"}
12# The background is inside the signed app's Resources. No stray background file
13# appears at the disk root, even when Finder's Show Hidden Files is enabled.
14background = None
15window_rect = ((160, 160), (720, 520))
16default_view = "icon-view"
17show_toolbar = False
18show_sidebar = False
19show_status_bar = False
20show_pathbar = False
21show_tab_view = False
22arrange_by = None
23grid_spacing = 80
24scroll_position = (0, 0)
25icon_size = 104
26text_size = 15
27label_pos = "bottom"
28show_icon_preview = False
29icon_locations = {"PulseCanvas Studio.app": (195, 230), "Applications": (525, 230)}
30# Do not set FinderInfo on a signed bundle: codesign rejects that added xattr.
31hide_extensions = []