mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
未登录时显示引导文案 + 登录按钮(点击 Tauri shell.open 打开浏览器)。 已登录时显示 subscription type + 登出按钮。Polling 由 store 驱动, 浏览器完成 OAuth 后 2s 内 UI 自动更新。 使用 Tailwind + CSS custom properties 对齐项目现有组件风格。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Claude Code Haha Desktop
基于 Tauri 2 + React 的桌面客户端。
开发
bun install
bun run tauri dev
构建
# macOS (Apple Silicon)
./scripts/build-macos-arm64.sh
# Windows (x64)
.\scripts\build-windows-x64.ps1
构建产物位于 build-artifacts/ 目录。
常见问题
macOS 提示"已损坏,无法打开"
xattr -cr /Applications/Claude\ Code\ Haha.app