fix: 修复 Windows 打包问题

- 修复 build.bat: 添加 UTF-8 编码设置
- 修复 spec 文件: 移除不存在的 config.yaml.template
- 添加 README.md 作为数据文件

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
congsh
2026-02-12 16:02:48 +08:00
parent 0ce1d71a90
commit 2d4cd9356e
2 changed files with 23 additions and 14 deletions

View File

@@ -18,8 +18,8 @@ a = Analysis(
pathex=[],
binaries=[],
datas=[
# 包含配置文件模板
('config.yaml.template', '.'),
# 包含 README 作为说明
('README.md', '.'),
],
hiddenimports=[
'PyQt6.QtCore',