2026-03-21 19:40:05 -05:00
|
|
|
@echo off
|
2026-05-11 20:04:13 -05:00
|
|
|
echo === Building Overlord Desktop (Tauri) ===
|
2026-03-21 19:40:05 -05:00
|
|
|
cd /d "%~dp0Overlord-Desktop"
|
2026-05-11 20:04:13 -05:00
|
|
|
|
|
|
|
|
where bun >nul 2>&1
|
|
|
|
|
if errorlevel 1 (
|
|
|
|
|
echo error: bun is required ^(https://bun.sh^)
|
|
|
|
|
exit /b 1
|
|
|
|
|
)
|
|
|
|
|
where cargo >nul 2>&1
|
|
|
|
|
if errorlevel 1 (
|
|
|
|
|
echo error: rust toolchain is required ^(https://rustup.rs^)
|
|
|
|
|
exit /b 1
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
call bun install || exit /b 1
|
|
|
|
|
call bun run vendor || exit /b 1
|
|
|
|
|
call bun run build:win || exit /b 1
|
|
|
|
|
echo === Done — bundle output: Overlord-Desktop\src-tauri\target\release\bundle\ ===
|
2026-03-21 19:40:05 -05:00
|
|
|
pause
|