mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
macOS Sequoia+ 对 Finder AppleScript 做了限制,"toolbar visible" "statusbar visible" 之类的 container window 属性不再支持,会返回 -10006 错误。在 set -e 下导致整个 build-macos-arm64.sh 炸掉,canonical 目录里没有 DMG。 美化失败不是 blocker —— DMG 本身是可用的,只是用户双击打开看到的 是 Finder 默认排布。这里: - osascript 非零退出只 warn,不让 set -e 中断脚本 - 顺手把 hdiutil detach 也加了 -force fallback,osascript 可能 把 volume 窗口打开了导致 normal detach 因 "Resource busy" 失败 Co-Authored-By: Claude Opus 4.6 (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