@echo off REM Setup script for appsONLINE REM Checks prerequisites and installs dependencies echo. echo ╔════════════════════════════════════════╗ echo ║ appsONLINE Setup & Verification ║ echo ╚════════════════════════════════════════╝ echo. REM Check Node.js echo Checking Node.js... where node >nul 2>nul if %ERRORLEVEL% EQU 0 ( for /f "tokens=*" %%i in ('node --version') do echo ✅ Node.js %%i found ) else ( echo ❌ Node.js not found! echo Download from: https://nodejs.org/ echo. ) REM Check npm echo Checking npm... where npm >nul 2>nul if %ERRORLEVEL% EQU 0 ( for /f "tokens=*" %%i in ('npm --version') do echo ✅ npm %%i found ) else ( echo ❌ npm not found! echo. ) REM Check .NET SDK echo Checking .NET SDK... where dotnet >nul 2>nul if %ERRORLEVEL% EQU 0 ( for /f "tokens=*" %%i in ('dotnet --version') do echo ✅ .NET SDK %%i found ) else ( echo ❌ .NET SDK not found! echo Download from: https://dotnet.microsoft.com/download echo. ) REM Check dependencies echo. echo Checking dependencies... if exist "node_modules" ( echo ✅ Dependencies already installed ) else ( echo Installing dependencies... call npm install if %ERRORLEVEL% EQU 0 ( echo ✅ Dependencies installed successfully ) else ( echo ❌ Failed to install dependencies! echo. pause exit /b 1 ) ) echo. echo ╔════════════════════════════════════════╗ echo ║ ✅ Setup complete! ║ echo ╚════════════════════════════════════════╝ echo. echo 🚀 To start the launcher, run: echo npm start echo. echo Or simply double-click: start.bat echo. pause