setup-build-tools

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Install 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:
ToolPackagePurpose
7z
p7zip-fullExtract Windows installers and nupkg archives
wget
wgetDownload Claude Desktop installers
wrestool
icoutilsExtract icons from Windows executables
convert
imagemagickProcess tray icons for Linux
dpkg-deb
dpkg-devBuild .deb packages
libfuse2
libfuse2Run AppImages
node
nodejsNode.js v20+ for npm/asar operations
该脚本会安装以下工具:
工具软件包用途
7z
p7zip-full提取Windows安装程序和nupkg归档文件
wget
wget下载Claude Desktop安装程序
wrestool
icoutils从Windows可执行文件中提取图标
convert
imagemagick处理Linux系统的托盘图标
dpkg-deb
dpkg-dev构建.deb包
libfuse2
libfuse2运行AppImages
node
nodejs用于npm/asar操作的Node.js v20+

When to Use

使用场景

  • Before running
    ./build.sh
    for the first time
  • After setting up a new development environment
  • When build.sh fails due to missing dependencies
  • 首次运行
    ./build.sh
    之前
  • 搭建新的开发环境之后
  • 当build.sh因缺少依赖项而失败时

Optional Guidance

可选指南

$ARGUMENTS
$ARGUMENTS