feat: launch WA.exe minimized in replay test to prevent focus steal
Browse files- replay-test.ps1 +1 -1
replay-test.ps1
CHANGED
|
@@ -41,7 +41,7 @@ Write-Host "Launching WA.exe with replay: $ReplayFile" -ForegroundColor Cyan
|
|
| 41 |
Write-Host " (Auto-capture mode: will exit after 5s)" -ForegroundColor Yellow
|
| 42 |
|
| 43 |
$env:OPENWA_REPLAY_TEST = "1"
|
| 44 |
-
$proc = Start-Process -FilePath $waExe -ArgumentList "`"$ReplayFile`"" -PassThru
|
| 45 |
$proc.WaitForExit()
|
| 46 |
$env:OPENWA_REPLAY_TEST = $null
|
| 47 |
|
|
|
|
| 41 |
Write-Host " (Auto-capture mode: will exit after 5s)" -ForegroundColor Yellow
|
| 42 |
|
| 43 |
$env:OPENWA_REPLAY_TEST = "1"
|
| 44 |
+
$proc = Start-Process -FilePath $waExe -ArgumentList "`"$ReplayFile`"" -WindowStyle Minimized -PassThru
|
| 45 |
$proc.WaitForExit()
|
| 46 |
$env:OPENWA_REPLAY_TEST = $null
|
| 47 |
|