From 6721ba45d1212d500331330a89e68b9a1c8c683d Mon Sep 17 00:00:00 2001 From: sindoring Date: Tue, 24 Mar 2026 09:34:09 +0400 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D1=81=D0=B1=D0=BE?= =?UTF-8?q?=D1=80=D1=89=D0=B8=D0=BA=D0=B0=20=D0=BC=D0=B0=D0=BD=D0=B8=D1=84?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build_manifest.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build_manifest.py b/build_manifest.py index 01a1c4e..3b66ad2 100644 --- a/build_manifest.py +++ b/build_manifest.py @@ -17,6 +17,10 @@ IGNORED_TOP_LEVEL_DIRS = { "Screenshots", "WTF", } +IGNORED_DIRS_ANYWHERE = { + ".git", + ".moonwell_launcher", +} ENV_VAR_NAME = "WOW_HOME" @@ -36,7 +40,9 @@ def sha256_file(path: Path, chunk_size: int = 1024 * 1024) -> str: def is_ignored(rel_path: Path) -> bool: if not rel_path.parts: return False - return rel_path.parts[0] in IGNORED_TOP_LEVEL_DIRS + if rel_path.parts[0] in IGNORED_TOP_LEVEL_DIRS: + return True + return any(part in IGNORED_DIRS_ANYWHERE for part in rel_path.parts[:-1]) def load_dotenv(env_path: Path) -> dict[str, str]: