Files
poli0981andClaude Opus 4.6 47f924535f feat: Phase 4 — Tauri 2 desktop app (Windows MSI 4.1MB)
Tauri 2 setup:
- src-tauri/ scaffold with Rust backend (lib.rs, main.rs)
- System tray with Show/Quit menu + left-click to show
- save_to_file and read_from_file Tauri commands
- Capabilities: dialog, fs, shell permissions
- All icon sizes generated (ico, icns, png)

Frontend integration:
- IS_TAURI platform detection (src/utils/platform.ts)
- file-ops.ts: native save/load with web fallback
- Vite base URL conditional (/ for Tauri, /yt-desc-gen/ for web)

Build output (Windows):
- MSI installer: 4.1MB
- NSIS setup: 2.7MB
- EXE: 14MB

CI/CD:
- release-desktop.yml: tag-triggered cross-platform builds
- Windows (x64) + macOS (arm64 + x64) matrix

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 02:01:08 +07:00

4 lines
39 B
Rust

fn main() {
tauri_build::build()
}