@echo off
rem Immersa OpenXR Fishtank - XR mode.
rem Uses whatever OpenXR runtime is registered on this PC (Immersa Studio, when
rem installed, registers itself as the system runtime).
rem Any arguments given to this script are forwarded to the demo.
setlocal
cd /d "%~dp0"
ImmersaOpenXrFishtank.exe %*
if errorlevel 1 (
  echo.
  echo The demo exited with an error. If it could not find an OpenXR runtime,
  echo start Immersa Studio first, or try RunFishtankDesktop.cmd which needs
  echo no runtime at all.
  echo.
  pause
)
endlocal
