refactor: keep standalone layouts in a file apart

The layouts every list carried grew the download of each run by up
to 30% for an option few use. They now live in
install/standalone/<platform>.json, written by the same --manifest run
and fetched only by a run given --standalone, beside --manifest first.
The list names the builds (standalone_builds). A missing, unreachable
or invalid file stops --standalone on one line, code 1.
This commit is contained in:
Abdessamad Derraz committed 2026-11-12 04:41:22 +01:00
1 parent 03f80eb570
commit 9cb9fec49e
13 files changed
+924 -77

No files matched your search

+1 -1
View File
@@ -1006,7 +1006,7 @@ def golden_states() -> dict:
option_focus(slots, "slot")
states["change-slot"] = slots
standalone = checked_state()
standalone.manifest = {**MANIFEST, "standalone_layouts": {"pcsx_rearmed": []}}
standalone.manifest = {**MANIFEST, "standalone_builds": ["pcsx_rearmed"]}
standalone.stack.append("options")
standalone.emulators = ["pcsx_rearmed"]
option_focus(standalone, "standalone")