Include the numbered installer batch files in the Windows 11 seed ISO

The launcher also rebuilds the seed ISO when one of them changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-16 13:57:19 +08:00
1 parent 8e1907e567
commit ca716d2b61
2 files changed
+7 -2

No files matched your search

+3 -2
View File
@@ -250,8 +250,9 @@ if installing_from_iso:
if not tools_iso.is_file():
die(f"downloader did not create: {tools_iso}")
seed_sources = [script_dir / "seediso" / "windows11" / name
for name in ("Autounattend.xml", "Configure-Windows.ps1")]
seed_dir = script_dir / "seediso" / "windows11"
seed_sources = [seed_dir / "Autounattend.xml", seed_dir / "Configure-Windows.ps1",
*sorted(seed_dir.glob("[0-9][0-9]-*.bat"))]
def newer_than_seed(source):
# Mirrors bash `-nt`: true if source exists and is newer than seed_iso.