@echo off
setlocal
cd /d "%~dp0"
if exist "%~dp0JadefallLauncher.ps1" (
  powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0JadefallLauncher.ps1"
) else if exist "%~dp0launcher\JadefallLauncher.ps1" (
  powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0launcher\JadefallLauncher.ps1"
) else (
  echo JadefallLauncher.ps1 niet gevonden. Plaats Start-Jadefall.cmd naast JadefallLauncher.ps1 of in de Jadefall downloads-map.
  pause
  exit /b 1
)
if errorlevel 1 pause
