5 Commits

Author SHA1 Message Date
MikiVL
2c649b8c7c 添加 GitHub Actions 自动构建 Windows/macOS 安装包
Some checks failed
Build Windows Installer / build-windows (push) Has been cancelled
构建安装包 / build-windows (push) Has been cancelled
构建安装包 / build-mac (push) Has been cancelled
每次推送 main 分支或手动触发时,分别在
windows-latest 和 macos-latest 上打包 Python 可执行文件
并生成 Electron 安装包,产物上传为 Artifact 保留 30 天。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 11:42:40 +08:00
MikiVL
a4d1218d21 fix: 显式安装 tailwindcss/oxide Windows 原生绑定
Some checks are pending
Build Windows Installer / build-windows (push) Waiting to run
2026-05-07 01:22:50 +08:00
MikiVL
df2488c653 fix: 构建前删除 package-lock.json,让 Windows 重新解析 tailwindcss 原生绑定
Some checks are pending
Build Windows Installer / build-windows (push) Waiting to run
2026-05-07 01:04:27 +08:00
MikiVL
ec105b3828 fix: 修复 Windows 构建中 tailwindcss 原生绑定找不到的问题,改用 npm install 替代 npm ci
Some checks are pending
Build Windows Installer / build-windows (push) Waiting to run
2026-05-06 23:59:52 +08:00
MikiVL
cb2c186f7f 添加 GitHub Actions Windows 构建流程
Some checks are pending
Build Windows Installer / build-windows (push) Waiting to run
- 新增 .github/workflows/build-windows.yml,在 windows-latest runner 上构建 NSIS 安装包
- 修复 PYTHON_BIN 在 Windows 下需要 .exe 后缀
- 更新 extraResources 为目录式 glob,同时兼容 macOS (main) 和 Windows (main.exe)
- package.json 新增 win/nsis electron-builder 目标配置

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 23:02:53 +08:00