Files
OBS-Overlays/gauntlet/advance-game.bat
T

9 lines
437 B
Batchfile

@echo off
setlocal
REM Clears the active Gauntlet game and moves the highlight to the next game.
powershell -NoProfile -ExecutionPolicy Bypass -Command "try { Invoke-RestMethod -Method Post -Uri 'http://localhost:8770/api/advance' | Out-Null; Write-Host 'Gauntlet advanced: current game cleared, next game active.' } catch { Write-Host 'ERROR: Could not reach the Gauntlet server. Start start-gauntlet.bat first.'; exit 1 }"
endlocal