chore: record mac dmg packaging

This commit is contained in:
inman
2026-05-14 00:15:37 +08:00
parent 6b503dcbe9
commit 6153579b90
3 changed files with 53 additions and 0 deletions

View File

@@ -4,6 +4,33 @@
Move from M1 foundation closure to an M2 product slice that a business customer can actually pilot: authenticated desktop entry, stable workspace context, visible daily operations surface, skill lifecycle primitives, and a clear path to connect the real server without disturbing ClawX/OpenClaw basics.
## 2026-05-13 macOS DMG 打包
Status: complete
Goal:
- 生成可安装的 macOS DMG 包。
- 确认新增/预置 skills 默认随安装包进入 `resources/preinstalled-skills`
Tasks:
- [x] 确认使用正式 `package:mac`,不使用会跳过预置技能的 `package:mac:local`
- [x] 检查 `resources/skills/preinstalled-manifest.json` 与 preinstalled skills 打包链路。
- [x] 停止当前 dev 进程,避免 Electron/Gateway 干扰打包。
- [x] 重建 `build/preinstalled-skills` 并确认技能清单。
- [x] 执行 macOS arm64 DMG 打包。
- [x] 验证产物路径和 DMG 内预置技能资源。
Notes:
- `pnpm run package:mac` 首次执行在 `prep:mac-binaries` 阶段下载 x64 `uv` 时因 GitHub 连接超时中断;本机 arm64 `node`/`uv` 已存在,改走 `pnpm run package` + `electron-builder --mac --arm64 --publish never`
Verification:
- `pnpm run package`: passed.
- `pnpm exec electron-builder --mac --arm64 --publish never`: passed.
- DMG: `release/智念助手-0.1.0-mac-arm64.dmg`.
- Packaged `.app` includes all 8 preinstalled skills: `docx``pdf``pptx``xlsx``design``html-slides``image-search``web-search`.
- `codesign --verify --deep --strict --verbose=2 release/mac-arm64/智念助手.app`: passed.
- `hdiutil verify release/智念助手-0.1.0-mac-arm64.dmg`: passed.
## 2026-05-13 对话 Markdown 与隐藏提示泄漏修复
Status: complete