plugins: preserve manual dlls.txt entries in dynamic installer

This commit is contained in:
Dusk-92
2026-08-27 15:34:54 +02:00
parent 8c46301939
commit c3d0fa3275
+3 -2
View File
@@ -640,8 +640,9 @@ class ModernWowSetupTool(WowSetupTool):
shutil.copy2(source_dll, target)
dlls_text_lines.append(dll_name)
with open(os.path.join(target, "dlls.txt"), "w") as f:
f.write("\n".join(dlls_text_lines))
# Preserve user-added dlls.txt entries; replace only entries
# managed by Modernization Tool.
self._write_dlls_file(target, dlls_text_lines)
finally:
self._close_download_progress()