-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.bat
More file actions
26 lines (22 loc) · 699 Bytes
/
Copy pathstart.bat
File metadata and controls
26 lines (22 loc) · 699 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
@echo off
title Android APK Builder
echo ==================================================
echo Starting Lightweight Android APK Builder...
echo ==================================================
echo.
:: Check if Node is installed
where node >nul 2>nul
if %errorlevel% neq 0 (
echo ERROR: Node.js is not found on your system PATH!
echo Please install Node.js from https://nodejs.org
pause
exit /b
)
:: Start Node server in background
echo Starting server on http://localhost:4321 ...
start /B node server.js
:: Wait 1 sec then open default browser
timeout /t 1 /nobreak >nul
start http://localhost:4321
echo App opened in browser! Press Ctrl+C or close window to exit.
pause