mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-27 15:13:37 +08:00
PR #58 fixed the GitHub workflows but missed the three local platform build scripts that maintainers run to reproduce the release locally (build-windows-x64.ps1, build-macos-arm64.sh, build-linux.sh). Those scripts inline the same `bun run build && bun run build:electron` sequence — without the seed step — so a `bun run build:windows-x64` on a maintainer machine produced an installer with the same "not found in marketplace cc-haha-builtin" failure as the official seedless release. Add `bun run build:plugin-seed` ahead of `build` in all three scripts. Verified locally: ran `bun run build:windows-x64`, package-smoke reported the new "Windows unpacked cc-haha-builtin plugin seed" check as PASS, and the produced desktop/build-artifacts/windows-x64/win-unpacked/resources/app.asar.unpacked/plugin-seed/marketplaces/cc-haha-builtin/.claude-plugin/marketplace.json contains both reverse-engineering and image-gen plugin entries with their copied source directories. Confidence: high Scope-risk: narrow (build-script-only; package-smoke gate from PR #58 already enforces the seed presence in the artifact). Co-authored-by: 你的姓名 <you@example.com>
Code Council Desktop
基于 Tauri 2 + React 的 Code Council 桌面客户端。
开发
bun install
bun run tauri dev
构建
# macOS (Apple Silicon)
./scripts/build-macos-arm64.sh
# Windows (x64, MSI only)
.\scripts\build-windows-x64.ps1
构建产物位于 build-artifacts/ 目录,文件名会显式包含平台、架构和包类型。
常见问题
macOS 提示"已损坏,无法打开"
xattr -cr /Applications/Claude\ Code\ Haha.app