mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-17 13:13:35 +08:00
The Install Center now spells out the two supported terminal flows after the bundled launcher is available: keep using `claude` when the official Claude Code CLI is already installed, or use `claude-haha` otherwise. It also shows copyable example commands so users understand that Skills, Plugins, and MCP configuration is shared between both command names. Constraint: The worktree contains unrelated icon, provider-label, and other UI edits, so this commit stages only the Install Center hint copy and its focused test Rejected: Leave the launcher status card without command guidance | users would still not know when to use `claude` versus `claude-haha` Rejected: Duplicate the same explanation in a new settings section | it adds UI weight without improving discoverability over the existing CLI card Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep the examples aligned with the real supported command surface; if launcher behavior changes, update both zh/en copy and the InstallCenter test together Tested: cd desktop && bun x vitest run src/components/settings/InstallCenter.test.tsx; cd desktop && bun run lint Not-tested: Full desktop production build and manual Settings page click-through after this copy-only follow-up
Claude Code Haha Desktop
基于 Tauri 2 + React 的桌面客户端。
开发
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