| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| where powershell.exe >nul 2>nul | |
| if errorlevel 1 ( | |
| echo PowerShell was not found. JackAILocal cannot start. | |
| pause | |
| exit /b 1 | |
| ) | |
| powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0windows\Start-JackAILocal.ps1" | |
| if errorlevel 1 ( | |
| echo. | |
| echo JackAILocal did not start correctly. | |
| echo Check .jackailocal\logs or run windows\Preflight-Windows.ps1 | |
| pause | |
| exit /b 1 | |
| ) | |