From 2faead2dd723afb626acae0a7b5edbd238dd9ed4 Mon Sep 17 00:00:00 2001 From: WMHN <1872265132@qq.com> Date: Mon, 18 Nov 2024 07:04:22 +0800 Subject: [PATCH] Delete sub files (#17400) Fixes #17214 Summary of the issue: #17214 changed the method of building html documents. Many .md.sub files will be generated in the process. These files are incorrectly included in the installer, increasing the installer size by about 2MB. After installing NVDA, it takes up an additional 30MB of space. --- source/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/setup.py b/source/setup.py index 4cc35c96b35..b31ecec65fa 100755 --- a/source/setup.py +++ b/source/setup.py @@ -287,6 +287,7 @@ def _genManifestTemplate(shouldHaveUIAccess: bool) -> tuple[int, int, bytes]: + ( "__pycache__", "*.md", + "*.md.sub", "*.xliff", "*/user_docs/styles.css", "*/user_docs/numberedHeadings.css",