fix: regenerate the launcher list after main

Main changed install.py without the launcher index, so --add-app
refused every launcher and nine tests failed on main itself. The demo
script added a list without a type, and an archive-size test still
built the data-tree refs without the needed flag the builder reads.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 21:48:46 +01:00
1 parent cfc950b834
commit 966ab201ea
3 files changed
+11 -10

No files matched your search

+1 -1
View File
@@ -318,7 +318,7 @@ class TheManifestCarriesTheArchiveSize(unittest.TestCase):
registry = {ref: {"source_type": "zip", "source_url": f"https://x/{ref}.zip",
"local_cache": str(data / ref)} for ref in ("pak", "old")}
members = [(str(data / ref / "a.bin"), f"{ref}/a.bin") for ref in ("pak", "old")]
refs = {f"{ref}/a.bin": (ref, ("s",), ref) for ref in ("pak", "old")}
refs = {f"{ref}/a.bin": (ref, ("s",), ref, True) for ref in ("pak", "old")}
listed = {entry["ref"]: entry for entry in
_manifest_data_directories(members, refs, registry, "")}
self.assertEqual(listed["pak"]["archive_size"], 21_360_579)