generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_app.bat
More file actions
32 lines (27 loc) · 871 Bytes
/
start_app.bat
File metadata and controls
32 lines (27 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
TITLE LinguaTale Launcher
echo ========================================================
echo LinguaTale Launcher
echo ========================================================
echo.
echo [1/3] Checking for updates (git pull)...
call git pull
IF %ERRORLEVEL% NEQ 0 (
echo.
echo [WARNING] Git pull failed. You might be offline or have local changes.
echo Starting the application with the current version...
echo.
) ELSE (
echo Update check complete.
)
echo.
echo [2/3] Installing dependencies (checks for new packages)...
call npm install
echo.
echo [3/3] Starting Local Server...
echo.
echo The application will open automatically in your default browser at http://localhost:1234
echo Press Ctrl+C to stop the server.
echo.
:: npm start (Vite) is configured to open the browser automatically via vite.config.ts
npm start