@echo off
cd /d %~dp0

if not exist ".temp" mkdir ".temp"

if not exist "node_modules" (
  echo Installing Nodarama dependencies...
  call npm install
  if errorlevel 1 (
    echo Dependency install failed. Install Node.js LTS, then run power again.
    pause
    exit /b 1
  )
)

echo Starting Nodarama Verbatim...
npm run start

pause
