Commit Graph

5 Commits

Author SHA1 Message Date
congsh
56b3c5a5b2 fix: 完善Windows打包脚本
- 修复 PyInstaller 和 Python 检测逻辑
- 使用 Python 模块检测(instead of where command)
- 统一依赖安装方式
- 添加 setuptools 检测
- 自动安装所有缺失的依赖包

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:38:44 +08:00
congsh
47c86c69ae fix: 修复Windows打包脚本依赖检查
- 检查 Python 是否正确安装
- 检查 PyQt6 是否可用
- 如果缺失则自动安装
- 提供清晰的错误提示和安装指引

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:32:31 +08:00
congsh
8bc9cad901 fix: 移除build.bat中文注释避免编码问题
- 将所有中文注释改为英文
- 保持脚本功能不变

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:31:01 +08:00
congsh
a2d731e91b fix: 修复Windows打包脚本
- 简化build.bat,使用Python命令直接打包
- 移除导致错误的^续行符

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:29:01 +08:00
congsh
154d53dbfd feat: 添加轻量打包和OCR自动安装功能
- 添加Windows打包脚本 build.bat
- 更新打包文档 BUILD.md(轻量版方案)
- OCR模块:添加首次运行时自动安装PaddleOCR的功能
- 主窗口:添加OCR安装检测和提示逻辑
- 创建应用入口 src/main.py

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