@echo off
setlocal
if not exist "%USERPROFILE%\.keyless-ai\keyless-doctor-windows.ps1" (
  echo keyless-doctor-windows.ps1 was not found.
  echo Run the latest Keyless setup again, or download:
  echo https://app.keyless-ai.com/downloads/keyless-doctor-windows.ps1
  pause
  exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%USERPROFILE%\.keyless-ai\keyless-doctor-windows.ps1"
echo.
echo Report:
echo %USERPROFILE%\.keyless-ai\keyless-doctor-report.txt
pause
