use tauri for desktop

This commit is contained in:
KingKDot
2026-05-11 20:04:13 -05:00
parent 76cb47f8eb
commit 1ce15b59fd
78 changed files with 673 additions and 5900 deletions
+22 -4
View File
@@ -1,7 +1,25 @@
#!/usr/bin/env bash
set -euo pipefail
echo "=== Building Overlord Desktop ==="
echo "=== Building Overlord Desktop (Tauri) ==="
cd "$(dirname "$0")/Overlord-Desktop"
npm install
npm run build
echo "=== Done ==="
if ! command -v bun >/dev/null 2>&1; then
echo "error: bun is required (https://bun.sh)" >&2
exit 1
fi
if ! command -v cargo >/dev/null 2>&1; then
echo "error: rust toolchain is required (https://rustup.rs)" >&2
exit 1
fi
bun install
bun run vendor
case "$(uname -s)" in
Linux*) bun run build:linux ;;
Darwin*) bun run build:mac ;;
MINGW*|MSYS*|CYGWIN*) bun run build:win ;;
*) bun run build ;;
esac
echo "=== Done — bundle output: Overlord-Desktop/src-tauri/target/release/bundle/ ==="