@echo off
setlocal
cd /d "%~dp0"

python -m pip install --no-index --find-links "%~dp0files\pyocd-wheelhouse" pyocd==0.43.1
if errorlevel 1 (
  echo.
  echo pyOCD offline install failed. Check Python installation and PATH.
  pause
  exit /b 1
)

echo.
echo pyOCD offline install finished.
pyocd --version
pause
