Install every pinned local build so a later switch to China finds rime-ice-installer

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 21:14:50 -04:00
1 parent 0d8d95a340
commit 22f0b5acfb
2 files changed
+34

No files matched your search

@@ -746,6 +746,9 @@ def _runtime_package_list(ctx: InstallContext) -> list[str]:
continue
if s not in already_installed and s not in pkgs:
pkgs.append(s)
# Local builds live only in this ISO's mirror; a later region switch could not fetch them.
if PINNED_PACKAGES.exists():
pkgs += [p for p in PINNED_PACKAGES.read_text().split() if p not in already_installed and p not in pkgs]
return pkgs