Skip to content

Commit 8bca698

Browse files
NanmiCoderclaude
andcommitted
docs(release): rewrite v0.4.0 notes and refresh unsigned install docs
- Rewrite release-notes/v0.4.0.md to match the historical style (no emoji, Highlights/Fixes/Notes), keep it user-facing only (drop release-process notes), and correct Linux (supported since the Tauri builds, not new). - README.md / README.en.md: replace Tauri references with Electron, list macOS / Windows / Linux, and point first-launch approval to the guide. - Rewrite docs/desktop/04-installation.md for Electron: Electron asset names, Linux section, and the unsigned-macOS flow (clear the DMG quarantine before double-clicking; drop the WebView2/right-click-open leftovers). - install-macos-unsigned.sh: keep the same-folder DMG flow, no online download. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b5d9bbf commit 8bca698

5 files changed

Lines changed: 142 additions & 60 deletions

File tree

‎README.en.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
</div>
1919

20-
A Claude Code build repaired from the source leaked from Anthropic's npm registry on 2026-03-31. Claude Code Haha is now primarily a **desktop Claude Code workspace** for macOS and Windows: sessions, projects, branch / Worktree launch, right-side file changes, code diffs, permission review, provider setup, Computer Use, H5 remote access, IM integration, and scheduled tasks in one app.
20+
A Claude Code build repaired from the source leaked from Anthropic's npm registry on 2026-03-31. Claude Code Haha is now primarily a **desktop Claude Code workspace** for macOS, Windows, and Linux: sessions, projects, branch / Worktree launch, right-side file changes, code diffs, permission review, provider setup, Computer Use, H5 remote access, IM integration, and scheduled tasks in one app.
2121

2222
<p align="center">
2323
<a href="#desktop-preview">Desktop Preview</a> · <a href="#install-the-desktop-app">Install</a> · <a href="#desktop-highlights">Highlights</a> · <a href="#sponsorship--partnership">Sponsorship</a> · <a href="#more-documentation">More Docs</a>
@@ -30,7 +30,7 @@ A Claude Code build repaired from the source leaked from Anthropic's npm registr
3030
The Claude Code Haha desktop app brings sessions, multi-project navigation, branch / Worktree controls, right-side file changes, code diffs, permission review, provider setup, and remote access into one graphical workspace for daily development flows beyond the terminal.
3131

3232
<p align="center">
33-
<a href="https://github.com/NanmiCoder/cc-haha/releases"><img src="https://img.shields.io/badge/⬇_Download_Desktop-macOS_%7C_Windows-FF7A00?style=for-the-badge" alt="Download Desktop"></a>
33+
<a href="https://github.com/NanmiCoder/cc-haha/releases"><img src="https://img.shields.io/badge/⬇_Download_Desktop-macOS_%7C_Windows_%7C_Linux-FF7A00?style=for-the-badge" alt="Download Desktop"></a>
3434
&nbsp;
3535
<a href="docs/desktop/04-installation.md"><img src="https://img.shields.io/badge/📖_Install_Guide-Guide-gray?style=for-the-badge" alt="Install Guide"></a>
3636
</p>
@@ -54,9 +54,9 @@ The Claude Code Haha desktop app brings sessions, multi-project navigation, bran
5454

5555
## Install the Desktop App
5656

57-
1. Download the macOS or Windows desktop installer from [Releases](https://github.com/NanmiCoder/cc-haha/releases).
57+
1. Download the macOS / Windows / Linux desktop installer from [Releases](https://github.com/NanmiCoder/cc-haha/releases).
5858
2. On first launch, configure your model provider, API key, and default model in Settings.
59-
3. If macOS blocks the app on first open, follow the [desktop installation guide](docs/desktop/04-installation.md) for Gatekeeper steps.
59+
3. This build is currently unsigned, so the first launch needs a one-time manual approval (clear quarantine on macOS, click "Run anyway" on Windows). See the [desktop installation guide](docs/desktop/04-installation.md).
6060

6161
## Run the CLI from Source
6262

@@ -99,7 +99,7 @@ See [environment variables](docs/en/guide/env-vars.md) and [global usage](docs/e
9999
| [Skills System](docs/skills/01-usage-guide.md) | Extensible capability plugins, custom workflows and conditional activation |
100100
| [IM Integration](docs/im/) | Remote chat, project switching, and permission approval via Telegram / Feishu / WeChat / DingTalk |
101101
| [Computer Use](docs/en/features/computer-use.md) | Desktop control (screenshots, mouse, keyboard) — [Architecture](docs/en/features/computer-use-architecture.md) |
102-
| [Desktop App](docs/desktop/) | Tauri 2 + React GUI client — [Quick Start](docs/desktop/01-quick-start.md) \| [Architecture](docs/desktop/02-architecture.md) \| [Installation](docs/desktop/04-installation.md) |
102+
| [Desktop App](docs/desktop/) | Electron + React GUI client — [Quick Start](docs/desktop/01-quick-start.md) \| [Architecture](docs/desktop/02-architecture.md) \| [Installation](docs/desktop/04-installation.md) |
103103
| [Global Usage](docs/en/guide/global-usage.md) | Run claude-haha from any directory |
104104
| [FAQ](docs/en/guide/faq.md) | Common error troubleshooting |
105105
| [Source Fixes](docs/en/reference/fixes.md) | Fixes compared with the original leaked source |
@@ -177,7 +177,7 @@ If this project helps you, consider buying me a coffee — every bit of support
177177
| Category | Technology |
178178
|------|------|
179179
| Language | TypeScript |
180-
| Desktop app | Tauri 2 |
180+
| Desktop app | Electron |
181181
| Desktop UI | React + Vite |
182182
| Local runtime | [Bun](https://bun.sh) |
183183
| Terminal UI | React + [Ink](https://github.com/vadimdemedes/ink) |
@@ -190,7 +190,7 @@ If this project helps you, consider buying me a coffee — every bit of support
190190
Thanks to the following open-source projects and community practices for reference and inspiration:
191191

192192
- [React](https://github.com/facebook/react): frontend engineering and component-based UI ecosystem.
193-
- [Tauri](https://github.com/tauri-apps/tauri): cross-platform desktop app capabilities and engineering practices.
193+
- [Electron](https://github.com/electron/electron): cross-platform desktop app capabilities and engineering practices.
194194
- [cc-switch](https://github.com/farion1231/cc-switch): reference for model provider configuration.
195195

196196
---

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
</div>
1919

20-
Claude Code Haha 基于 2026-03-31 从 Anthropic npm registry 泄露的 Claude Code 源码修复而来,现在主要是一个**桌面端 Claude Code 工作台**:把会话、多项目、分支 / Worktree、右侧代码改动、代码 Diff、权限审批、模型提供商、Computer Use、H5 远程访问、IM 接入和定时任务集中到一个 macOS / Windows APP 里。
20+
Claude Code Haha 基于 2026-03-31 从 Anthropic npm registry 泄露的 Claude Code 源码修复而来,现在主要是一个**桌面端 Claude Code 工作台**:把会话、多项目、分支 / Worktree、右侧代码改动、代码 Diff、权限审批、模型提供商、Computer Use、H5 远程访问、IM 接入和定时任务集中到一个 macOS / Windows / Linux APP 里。
2121

2222
<p align="center">
2323
<a href="#桌面端预览">桌面端预览</a> · <a href="#安装桌面端">安装桌面端</a> · <a href="#桌面端亮点">桌面端亮点</a> · <a href="#赞助与合作">赞助与合作</a> · <a href="#更多文档">更多文档</a>
@@ -30,7 +30,7 @@ Claude Code Haha 基于 2026-03-31 从 Anthropic npm registry 泄露的 Claude C
3030
Claude Code Haha 的桌面端把会话、多项目、分支 / Worktree、右侧代码改动、代码 Diff、权限确认、提供商配置和远程入口集中到一个图形化工作台里,适合不想长期停留在终端里的日常开发工作流。
3131

3232
<p align="center">
33-
<a href="https://github.com/NanmiCoder/cc-haha/releases"><img src="https://img.shields.io/badge/⬇_下载桌面端-macOS_%7C_Windows-FF7A00?style=for-the-badge" alt="下载桌面端"></a>
33+
<a href="https://github.com/NanmiCoder/cc-haha/releases"><img src="https://img.shields.io/badge/⬇_下载桌面端-macOS_%7C_Windows_%7C_Linux-FF7A00?style=for-the-badge" alt="下载桌面端"></a>
3434
&nbsp;
3535
<a href="docs/desktop/04-installation.md"><img src="https://img.shields.io/badge/📖_安装指南-Guide-gray?style=for-the-badge" alt="安装指南"></a>
3636
</p>
@@ -54,9 +54,9 @@ Claude Code Haha 的桌面端把会话、多项目、分支 / Worktree、右侧
5454

5555
## 安装桌面端
5656

57-
1. 前往 [Releases](https://github.com/NanmiCoder/cc-haha/releases) 下载 macOS 或 Windows 桌面端安装包。
57+
1. 前往 [Releases](https://github.com/NanmiCoder/cc-haha/releases) 下载 macOS / Windows / Linux 桌面端安装包。
5858
2. 首次启动后,在桌面端设置里配置模型提供商、API Key 和默认模型。
59-
3. 如果 macOS 提示应用无法打开,请按 [桌面端安装指南](docs/desktop/04-installation.md) 处理 Gatekeeper 权限。
59+
3. 当前版本暂未签名,首次安装需要手动放行一次(macOS 解除隔离、Windows 点"仍要运行")。详见 [桌面端安装指南](docs/desktop/04-installation.md)。
6060

6161
## 从源码启动 CLI
6262

@@ -99,7 +99,7 @@ cp .env.example .env
9999
| [Skills 系统](docs/skills/01-usage-guide.md) | 可扩展能力插件、自定义工作流与条件激活 |
100100
| [IM 接入](docs/im/) | 通过 Telegram / 飞书 / 微信 / 钉钉远程对话、切换项目和审批权限 |
101101
| [Computer Use](docs/features/computer-use.md) | 桌面控制功能(截屏、鼠标、键盘)— [架构解析](docs/features/computer-use-architecture.md) |
102-
| [桌面端](docs/desktop/) | Tauri 2 + React 图形化客户端 — [快速上手](docs/desktop/01-quick-start.md) \| [架构设计](docs/desktop/02-architecture.md) \| [安装指南](docs/desktop/04-installation.md) |
102+
| [桌面端](docs/desktop/) | Electron + React 图形化客户端 — [快速上手](docs/desktop/01-quick-start.md) \| [架构设计](docs/desktop/02-architecture.md) \| [安装指南](docs/desktop/04-installation.md) |
103103
| [全局使用](docs/guide/global-usage.md) | 在任意目录启动 claude-haha |
104104
| [常见问题](docs/guide/faq.md) | 常见错误排查 |
105105
| [源码修复记录](docs/reference/fixes.md) | 相对于原始泄露源码的修复内容 |
@@ -177,7 +177,7 @@ cp .env.example .env
177177
| 类别 | 技术 |
178178
|------|------|
179179
| 语言 | TypeScript |
180-
| 桌面 APP | Tauri 2 |
180+
| 桌面 APP | Electron |
181181
| 桌面 UI | React + Vite |
182182
| 本地运行时 | [Bun](https://bun.sh) |
183183
| 终端 UI | React + [Ink](https://github.com/vadimdemedes/ink) |
@@ -190,7 +190,7 @@ cp .env.example .env
190190
感谢以下开源项目和社区实践为本项目提供参考与启发:
191191

192192
- [React](https://github.com/facebook/react):前端工程与组件化 UI 生态。
193-
- [Tauri](https://github.com/tauri-apps/tauri):跨端桌面应用能力与工程实践。
193+
- [Electron](https://github.com/electron/electron):跨端桌面应用能力与工程实践。
194194
- [cc-switch](https://github.com/farion1231/cc-switch):模型供应商配置能力参考。
195195

196196
---

‎desktop/scripts/install-macos-unsigned.sh‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4+
# install-macos-unsigned.sh
5+
#
6+
# Installs the unsigned macOS build of Claude Code Haha from a DMG that sits
7+
# next to this script (download both from the same GitHub Release into one
8+
# folder, e.g. ~/Downloads, then run this script).
9+
#
10+
# Because this release ships without an Apple Developer ID signature, macOS
11+
# quarantines the download and Gatekeeper refuses to launch it ("damaged" /
12+
# "cannot verify developer"). This script installs the app to /Applications
13+
# and removes the com.apple.quarantine attribute so it opens normally.
14+
#
15+
# Usage:
16+
# bash install-macos-unsigned.sh # auto-pick the DMG next to this script
17+
# bash install-macos-unsigned.sh /path/to/Claude-Code-Haha-0.4.0-mac-arm64.dmg
18+
419
APP_NAME="Claude Code Haha.app"
520
APP_PATH="/Applications/${APP_NAME}"
621

@@ -51,6 +66,7 @@ main() {
5166
if [ -z "$dmg" ]; then
5267
if ! dmg="$(find_dmg "$base_dir")"; then
5368
echo "No Claude Code Haha macOS DMG found next to this script."
69+
echo "Download the DMG into the same folder as this script, then run it again."
5470
echo "Usage: bash install-macos-unsigned.sh /path/to/Claude-Code-Haha-0.4.0-mac-arm64.dmg"
5571
exit 1
5672
fi

‎docs/desktop/04-installation.md‎

Lines changed: 61 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,80 @@
11
# 安装指南
22

3+
桌面端基于 **Electron**,提供 macOS / Windows / Linux 安装包。当前版本暂未进行 Apple / Windows 代码签名,首次安装需要手动放行一次(不是文件损坏,按下方步骤操作即可)。
4+
35
## 下载
46

57
前往 [GitHub Releases](https://github.com/NanmiCoder/cc-haha/releases) 下载对应平台的安装包:
68

79
| 平台 | 文件 |
810
|------|------|
9-
| macOS (Apple Silicon) | `Claude.Code.Haha_x.x.x_aarch64.dmg` |
10-
| macOS (Intel) | `Claude.Code.Haha_x.x.x_x64.dmg` |
11-
| Windows (x64) | `Claude.Code.Haha_x.x.x_x64-setup.exe` |
11+
| macOS (Apple Silicon / M 系列) | `Claude-Code-Haha-<版本>-mac-arm64.dmg` |
12+
| macOS (Intel) | `Claude-Code-Haha-<版本>-mac-x64.dmg` |
13+
| Windows (x64) | `Claude-Code-Haha-<版本>-win-x64.exe` |
14+
| Linux (x64) | `Claude-Code-Haha-<版本>-linux-x86_64.AppImage` 或 `...-linux-amd64.deb` |
15+
| Linux (ARM64) | `Claude-Code-Haha-<版本>-linux-arm64.AppImage` 或 `...-linux-arm64.deb` |
1216

13-
> 不确定 Mac 架构?点击左上角 → 关于本机,芯片为 Apple M 开头选 aarch64,Intel 选 x64。
17+
> 不确定 Mac 架构?点击左上角 → 关于本机,芯片为「Apple M…」选 arm64,「Intel」选 x64。
1418
1519
## macOS 安装
1620

17-
1. 双击 `.dmg` 文件,将应用拖入 `Applications` 文件夹
18-
2. 首次打开如果提示**"已损坏,无法打开"**,在终端执行:
21+
> 重要:当前 DMG 未签名,**直接双击会报"已损坏,无法打开"**(系统只给"移到废纸篓"按钮)。这不是文件损坏,按下面任一方式安装即可,不要点"移到废纸篓"。
22+
23+
### 方式一:脚本安装(推荐)
24+
25+
把 Release 资产里的 `install-macos-unsigned.sh` 和对应架构的 DMG 下载到同一目录(如 `~/Downloads`),然后运行:
26+
27+
```bash
28+
bash ~/Downloads/install-macos-unsigned.sh
29+
```
30+
31+
脚本会自动解除 DMG 和应用的隔离标记、挂载并装进「应用程序」后打开——全程不需要双击 DMG。
32+
33+
### 方式二:手动安装
34+
35+
1. 先解除 DMG 的隔离标记(把文件名换成你下载的版本),再双击它:
1936

2037
```bash
21-
xattr -cr /Applications/Claude\ Code\ Haha.app
38+
xattr -dr com.apple.quarantine ~/Downloads/Claude-Code-Haha-<版本>-mac-arm64.dmg
2239
```
2340

24-
> 由于应用暂未进行 Apple 开发者签名,macOS 会阻止首次运行,执行上述命令移除隔离属性后即可正常使用。
41+
2. 把 **Claude Code Haha** 拖入 `Applications`,再解除应用的隔离标记:
42+
43+
```bash
44+
xattr -dr com.apple.quarantine "/Applications/Claude Code Haha.app"
45+
```
46+
47+
> - 若提示 `Permission denied`,在命令前加 `sudo`。
48+
> - **macOS Sequoia (15) 起**,Apple 已移除「右键 → 打开」的绕过方式;对完全未签名的应用,系统设置里的"仍要打开"也可能不出现。因此 `xattr` 命令是当前最可靠的放行方式。
49+
> - 该命令只移除"从网络下载"的隔离标记,请确认是从官方 GitHub Release 下载后再执行。在拿到 Apple 签名 + 公证之前,双击 DMG 的报错无法从构建侧消除。
2550
2651
## Windows 安装
2752

28-
1. 双击 `.exe` 安装程序,按向导完成安装
29-
2. 首次运行如果 SmartScreen 弹出警告,点击 **「更多信息」** → **「仍要运行」**
53+
1. 双击 `.exe` 安装程序,按向导完成安装。
54+
2. 首次运行如果 SmartScreen 弹出 **"Windows 已保护你的电脑"**:点击 **「更多信息」** → **「仍要运行」**。
55+
56+
> 可选:若系统反复拦截,可在 PowerShell 中去掉文件的"网络来源"标记:
57+
> ```powershell
58+
> Unblock-File -Path "$env:USERPROFILE\Downloads\Claude-Code-Haha-<版本>-win-x64.exe"
59+
> ```
60+
61+
## Linux 安装
3062
31-
> 应用暂未进行 Windows 代码签名,仅首次运行需要此操作。
63+
### AppImage(免安装)
64+
65+
```bash
66+
chmod +x Claude-Code-Haha-<版本>-linux-x86_64.AppImage
67+
./Claude-Code-Haha-<版本>-linux-x86_64.AppImage
68+
```
69+
70+
> - 提示缺少 FUSE:Ubuntu 22.04 及更早 `sudo apt install libfuse2`,Ubuntu 24.04+ `sudo apt install libfuse2t64`。
71+
> - 提示 `SUID sandbox helper ... not configured correctly`:临时用 `--no-sandbox` 运行,或改用下面的 deb 安装。
72+
73+
### deb(推荐,自动解决依赖与沙箱权限)
74+
75+
```bash
76+
sudo apt install ./Claude-Code-Haha-<版本>-linux-amd64.deb
77+
```
3278

3379
## Web UI 模式
3480

@@ -47,10 +93,10 @@ bun run dev --host 127.0.0.1 --port 2024
4793

4894
## 常见问题
4995

50-
**Q: macOS 提示"来自身份不明的开发者"?**
96+
**Q: macOS 反复提示"已损坏"或"无法验证开发者"?**
5197

52-
右键点击应用 → 选择「打开」→ 在弹窗中点击「打开」,仅需操作一次。
98+
执行 `xattr -dr com.apple.quarantine "/Applications/Claude Code Haha.app"`(必要时加 `sudo`),或使用上面的一键安装脚本。这是未签名应用被 Gatekeeper 拦截的正常现象,去掉隔离标记后即可正常使用。
5399

54-
**Q: Windows 提示缺少 WebView2?**
100+
**Q: 这个版本会自动更新吗?**
55101

56-
从 [Microsoft 官方](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) 下载安装 WebView2 运行时。
102+
暂时不会。在拿到苹果签名前,请每次到 [GitHub Releases](https://github.com/NanmiCoder/cc-haha/releases) 手动下载新版本覆盖安装。覆盖安装不会删除本地配置和会话数据(`~/.claude`)。

0 commit comments

Comments
 (0)