@echo off
title STS2 Check
rem Downloads the latest checker and Gabe's current setup from sts2.hamiltons.cloud, then runs it.
rem Keep this file; it never needs updating. Close Slay the Spire 2 before running it.
powershell -NoProfile -ExecutionPolicy Bypass -Command "$ErrorActionPreference='Stop'; [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12; $p=Join-Path $env:TEMP 'sts2-check.ps1'; try { Invoke-WebRequest -UseBasicParsing ('https://sts2.hamiltons.cloud/check.ps1?t=' + [DateTime]::UtcNow.Ticks) -OutFile $p -TimeoutSec 60 } catch { Write-Host ('Could not reach sts2.hamiltons.cloud: ' + $_.Exception.Message) -ForegroundColor Red; Read-Host 'Press Enter to close'; exit 1 }; & $p"
