Commit Graph

3 Commits

Author SHA1 Message Date
let5sne.win10
299504c283 fix: 使用 --paths 参数修复 PyInstaller 导入路径问题
- 改用 --paths=src 代替 --add-data
- 这样 src 目录会被添加到 Python 路径
- 避免 processor 等模块导入错误

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 23:06:44 +08:00
let5sne.win10
8501f17b6c fix: 修复打包脚本兼容性
- 使用 Python -m PyInstaller 方式提高兼容性
- 简化命令参数
- 添加文件大小显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 23:04:05 +08:00
let5sne.win10
7e4f2c92b1 feat: 添加桌面程序打包支持
- 添加 PyInstaller 打包脚本 build_exe.py
- 更新 requirements.txt 添加 PyQt6 和 opencv-python
- .gitignore 添加 PyInstaller 打包产物忽略规则

使用方法:
  pip install pyinstaller
  python build_exe.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 23:00:57 +08:00