@echo off
setlocal
if not exist "%~dp0SRS World.exe" (
  echo Place this launcher and SRS-Home-Game-CA.pem beside SRS World.exe.
  pause
  exit /b 1
)
if not exist "%~dp0SRS-Home-Game-CA.pem" (
  echo Download the SRS World LAN certificate and place it beside this launcher.
  pause
  exit /b 1
)
start "" "%~dp0SRS World.exe" --srs-lan "--srs-tls-ca=%~dp0SRS-Home-Game-CA.pem"
