mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Move update downloads into the background and prompt only after the update is ready, so the global update UI no longer pins a progress panel over the app. Keep the About page as the detailed status surface and make failed downloads or installs retryable without losing the prepared update. Constraint: Tauri updater install still needs an explicit user restart action after download Rejected: Keep showing global download progress | it preserves the blocking top-right experience that triggered the complaint Confidence: high Scope-risk: moderate Directive: Do not show the global update prompt before status is downloaded without rechecking the desktop UX complaint Tested: bun run test -- src/stores/updateStore.test.ts src/components/shared/UpdateChecker.test.tsx --run Tested: bun run check:desktop Tested: bun run check:native Tested: bun run check:coverage Tested: bun run verify Not-tested: Real signed release artifact update from an installed older desktop build
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