# Build S³ and install it straight into the local game copy for testing. # .\dist\build-local.ps1 # .\dist\build-local.ps1 -GameDir "X:\path\to\Railroader" -Configuration Debug param( [string]$Configuration = "Release", [string]$GameDir = "D:\Seton\SteamApps\steamapps\common\Railroader" ) . (Join-Path $PSScriptRoot "build-common.ps1") if (-not (Test-Path $GameDir)) { throw "GameDir not found: $GameDir" } $managed = Invoke-ManagedBuild -Configuration $Configuration -GameDir $GameDir $native = Invoke-NativeBuild -Configuration $Configuration $modDir = Join-Path $GameDir "Mods\$ModId" New-ModLayout -DestModDir $modDir -ManagedDll $managed -NativeDll $native Write-Host "=== Installed to $modDir ===" -ForegroundColor Green