Restore online-only MPQ behavior

This commit is contained in:
Dusk-92
2026-09-03 21:29:19 +02:00
parent 3e32b7985b
commit 2b7de2613c
+3 -4
View File
@@ -1720,9 +1720,8 @@ class WowSetupTool:
] ]
try: try:
# Visual installers own their current-version and cache checks. # Visual installers own their current-version checks.
# Already valid MPQs are reused without a download and can seed the # Already valid MPQs are reused without a download.
# local offline cache on upgrades from older Tool releases.
for key, managed_id, display_name, installer in visual_defs: for key, managed_id, display_name, installer in visual_defs:
if self.visual_mods[key].get(): if self.visual_mods[key].get():
try: try:
@@ -1734,7 +1733,7 @@ class WowSetupTool:
) )
else: else:
raise RuntimeError( raise RuntimeError(
f"{display_name} installation failed and no usable cached or bundled fallback is available:\n{exc}" f"{display_name} installation failed and no valid installed copy can be kept:\n{exc}"
) from exc ) from exc
else: else:
remote_packages.remove_managed_mod(target, managed_id) remote_packages.remove_managed_mod(target, managed_id)