Files
zeekayandHanzo Dev c24e700a18 feat(desktop): complete 100% Tauri v2 migration, native SnapShot/SSH/updater/CLI/preview, standalone bundles & CI
Finishes migrating Hanzo Dev off Electron to native Rust Tauri v2:
- Native Rust SnapShot capture (snapshot.rs), direct SSH port-forward supervisor (ssh.rs), GitHub release updater, ~/.local/bin/hanzo-dev-app CLI installer, global shortcuts (CmdOrCtrl+Shift+I/J/2), macOS Dock Reopen restore, and Tauri preview iframe host.
- Self-contained .app/.dmg/.AppImage/.exe/.msi resource staging via apps/desktop/scripts/stage-tauri-resources.mjs + tauri.conf.json.
- Migrates all GitHub Actions CI & release workflows (.github/workflows/*) to Rust + Tauri v2 and purges all @electron/* dependencies and legacy Electron packaging scripts.
- Cleans unused web/mobile deps so knip passes with zero issues across all 43 workspaces.

Co-authored-by: Hanzo Dev <[email protected]>
2026-11-19 11:37:00 -08:00

30 lines
802 B
TypeScript

import "vite-plus/test/config";
import { defineConfig } from "vite-plus";
export default defineConfig({
run: {
tasks: {
build: {
command:
"node scripts/stage-tauri-resources.mjs && cargo build --release --features custom-protocol --manifest-path src-tauri/Cargo.toml",
dependsOn: ["@hanzodev/web#build", "hanzo#build"],
cache: false,
},
"build:bundle": {
command: "npx tauri build",
dependsOn: ["@hanzodev/web#build", "hanzo#build"],
cache: false,
},
dev: {
command: "node scripts/dev-tauri.mjs",
dependsOn: ["hanzo#build"],
cache: false,
},
typecheck: {
command: "cargo check --manifest-path src-tauri/Cargo.toml",
cache: false,
},
},
},
});