Files
CodePilot/CLAUDE.md
T
7418andClaude Opus 4.6 d554735dca chore: bump version to 0.2.3, add CLAUDE.md
Add CLAUDE.md with release checklist and build notes.
Bump version for new release with ABI fix, Windows path fix,
x64 macOS support, and Extensions scroll fix.

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

938 B
Raw Blame History

CLAUDE.md

Project Overview

CodePilot — Claude Code 的原生桌面 GUI 客户端,基于 Electron + Next.js。

Release Checklist

发版前必须更新版本号:

  1. package.json 中的 "version" 字段
  2. package-lock.json 中的对应版本(运行 npm install 会自动同步)
  3. 构建命令:npm run electron:pack:mac(macOS)/ npm run electron:pack:win(Windows)
  4. 上传产物到 GitHub Release 并编写 release notes

Build Notes

  • macOS 构建产出 DMG(arm64 + x64),Windows 产出 NSIS 安装包或 zip
  • scripts/after-pack.js 会在打包时显式重编译 better-sqlite3 为 Electron ABI,确保原生模块兼容
  • 构建前清理 rm -rf release/ .next/ 可避免旧产物污染
  • 构建 Windows 包后需要 npm rebuild better-sqlite3 恢复本地开发环境
  • macOS 交叉编译 Windows 需要 Wine(Apple Silicon 上可能不可用),可用 zip 替代 NSIS