7 Commits

Author SHA1 Message Date
MikiVL
70a56ede36 添加 macOS 安装包打包支持
- 重命名 parser.py → xl_parser.py 避免与 Python 3.9 stdlib 命名冲突
- 添加 PyInstaller spec 文件用于构建独立 Python 可执行文件
- 配置 electron-builder:extraResources 打包 Python binary、asarUnpack better-sqlite3
- 新增 build:python 和 dist 脚本,一键生成 DMG 安装包
- 更新测试:对齐新 fixture 结构和重命名后的模块

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 19:44:01 +08:00
MikiVL
9738d2cd67 添加 Playwright E2E 测试及构建修复
- 修复 vite.config.mjs base 路径为 "./" 解决 file:// 协议加载失败
- 添加测试专用 mockDialog IPC 绕过原生文件选择对话框
- 重建 better-sqlite3 以适配 Electron 内嵌 Node ABI
- 新增 6 个 E2E 测试:模板增删改、批量生成、文件解析

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 15:01:13 +08:00
MikiVL
8fe2d2bb88 test: 验证 Python stdin/stdout JSON 通信 2026-05-05 13:19:20 +08:00
MikiVL
eb82650c03 feat: 实现批量 Excel 生成(文本、图片、表格区域)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 13:05:23 +08:00
MikiVL
504bd2f65f fix: 修复多占位符识别,补充测试 2026-05-05 12:58:22 +08:00
MikiVL
1f51665e42 feat: 实现模板解析,自动识别 {{占位符}} 2026-05-05 05:52:42 +08:00
MikiVL
9bbd7fc63f chore: 初始化项目结构 2026-05-05 05:34:30 +08:00