setup-build-tools
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInstall the build dependencies required to run build.sh and create .deb/.AppImage packages.
安装运行build.sh并创建.deb/.AppImage包所需的构建依赖项。
Your Task
你的任务
Run the build tools installation script to ensure all required tools are available:
bash
bash "$CLAUDE_PROJECT_DIR/.claude/hooks/install-build-tools.sh"运行构建工具安装脚本,确保所有必需工具均已就绪:
bash
bash "$CLAUDE_PROJECT_DIR/.claude/hooks/install-build-tools.sh"Tools Installed
已安装的工具
This script installs:
| Tool | Package | Purpose |
|---|---|---|
| p7zip-full | Extract Windows installers and nupkg archives |
| wget | Download Claude Desktop installers |
| icoutils | Extract icons from Windows executables |
| imagemagick | Process tray icons for Linux |
| dpkg-dev | Build .deb packages |
| libfuse2 | Run AppImages |
| nodejs | Node.js v20+ for npm/asar operations |
该脚本会安装以下工具:
| 工具 | 软件包 | 用途 |
|---|---|---|
| p7zip-full | 提取Windows安装程序和nupkg归档文件 |
| wget | 下载Claude Desktop安装程序 |
| icoutils | 从Windows可执行文件中提取图标 |
| imagemagick | 处理Linux系统的托盘图标 |
| dpkg-dev | 构建.deb包 |
| libfuse2 | 运行AppImages |
| nodejs | 用于npm/asar操作的Node.js v20+ |
When to Use
使用场景
- Before running for the first time
./build.sh - After setting up a new development environment
- When build.sh fails due to missing dependencies
- 首次运行之前
./build.sh - 搭建新的开发环境之后
- 当build.sh因缺少依赖项而失败时
Optional Guidance
可选指南
$ARGUMENTS
$ARGUMENTS