Add offline fallbacks for remote components #9

Merged
Dusk-92 merged 101 commits from test/remote-fallbacks into main 2026-09-04 15:03:01 +00:00
Showing only changes of commit 352330b048 - Show all commits
+4 -1
View File
@@ -164,7 +164,10 @@ class ModernWowSetupTool(WowSetupTool):
or any(ch not in "0123456789abcdefABCDEF" for ch in blob_sha)
):
raise RuntimeError(f"Invalid bundled tree metadata for {label}.")
expected[path.replace("\\", "/").casefold()] = (size, blob_sha.lower())
key = path.replace("\\", "/").casefold()
if key in expected:
raise RuntimeError(f"Duplicate bundled tree metadata for {label}.")
expected[key] = (size, blob_sha.lower())
actual = {}
for current_root, dirs, files in os.walk(root):