Files
juc500/dist-offline/juc500-offline-update-20260720-123250/scripts/launch_tauri.bat
T
2026-07-21 21:11:19 +09:00

18 lines
448 B
Batchfile

@echo off
REM JUC500 Tauri shell — auto-launch on cable connect
cd /d "%~dp0.."
set "JUC500_ROOT=%CD%"
set "JUC500_USE_TAURI=1"
set "BIN=%CD%\juc500-app\src-tauri\target\release\juc500-app.exe"
if exist "%BIN%" goto run
set "BIN=%CD%\juc500-app\src-tauri\target\debug\juc500-app.exe"
if exist "%BIN%" goto run
echo [!] Tauri app not built. Run: cd juc500-app ^&^& npm install ^&^& npm run tauri build
exit /b 1
:run
start "" "%BIN%"
exit /b 0