wormz-a / deploy-debug.ps1
paavohtl's picture
feat: add egui debug UI window with entity census, inspector, and log panel
229ceef
Raw History Blame
531 Bytes
$dest = "I:\games\SteamLibrary\steamapps\common\Worms Armageddon"
cargo build --release -p openwa-wormkit --features debug-ui
if ($LASTEXITCODE -ne 0) { exit 1 }
$src = "target\i686-pc-windows-msvc\release"
Copy-Item "$src\openwa_wormkit.dll" "$dest\wkOpenWA.dll"
Write-Host "Deployed debug-ui build to $dest"
Write-Host "Launch WA.exe with OPENWA_DEBUG_UI=1 to show the debug window."
Write-Host ""
Write-Host "Example:"
Write-Host ' $env:OPENWA_DEBUG_UI=1; & "I:\games\SteamLibrary\steamapps\common\Worms Armageddon\WA.exe"'