полный переход на warcraft xl

This commit is contained in:
2026-07-18 15:48:07 +04:00
parent 08c1b9da3f
commit 26ff2b3b94
19 changed files with 748 additions and 403 deletions
+6
View File
@@ -21,6 +21,10 @@ IGNORED_DIRS_ANYWHERE = {
".git",
".moonwell_launcher",
}
IGNORED_TOP_LEVEL_FILES = {
"Wow.moonwell-patched.backup.exe",
"WarcraftXL_on12.disable",
}
ENV_VAR_NAME = "WOW_HOME"
@@ -42,6 +46,8 @@ def is_ignored(rel_path: Path) -> bool:
return False
if rel_path.parts[0] in IGNORED_TOP_LEVEL_DIRS:
return True
if len(rel_path.parts) == 1 and rel_path.name in IGNORED_TOP_LEVEL_FILES:
return True
return any(part in IGNORED_DIRS_ANYWHERE for part in rel_path.parts[:-1])