Skip to content

The only downloader you need. 下载器的集大成者。

fix(build): Windows 包缺少 winrt 投影表导致系统通知失效

XiaoYouChRb38d1f379353
diff --git a/scripts/deploy.py b/scripts/deploy.py
index 4af63cd5..2dc1a78f 100644
--- a/scripts/deploy.py
+++ b/scripts/deploy.py
@@ -141,6 +141,7 @@ def buildArgs() -> list[str]:
'--msvc=latest',
'--windows-icon-from-ico=app/assets/logo.ico',
'--include-data-dir=app/assets/file_icons=app/assets/file_icons',
+ '--include-package-data=winrt:*.pywinrt', # winrt 4.x 的投影表
'--company-name=XiaoYouChR',
'--product-name="Ghost Downloader"',
f'--file-version={BUILD_VERSION}',