AgentSkillsCN

build-desktop

构建适用于生产的 Tauri 桌面应用

SKILL.md
--- frontmatter
name: build-desktop
description: Build the Tauri desktop application for production

Build the desktop application using Tauri.

bash
npm run build:desktop

This will:

  1. Build the Astro frontend
  2. Compile the Rust backend
  3. Package the native app for the current platform

The output will be in src-tauri/target/release/bundle/.

Platform-specific outputs

  • macOS: .dmg and .app
  • Windows: .msi and .exe
  • Linux: .deb, .AppImage, .rpm