Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/package-check.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ try {
} while ([DateTime]::UtcNow -lt $deadline)
if ($app.HasExited -or $app.MainWindowHandle -eq 0 -or $app.MainWindowTitle -notlike 'ZipXP*') { throw 'Published app window not found.' }
Write-Host 'PASS: installed self-contained executable opens the dashboard.'
if (-not $app.WaitForExit(25000)) { throw 'Installed app did not exit gracefully.' }
# --launch-check quits on its own after 40 s (App.xaml.cs); allow for that plus a graceful shutdown.
if (-not $app.WaitForExit(70000)) { throw 'Installed app did not exit gracefully.' }
if ($app.ExitCode -ne 0) { throw "Installed app exited with $($app.ExitCode)." }
} finally { $app.Dispose() }
& (Join-Path $destination 'uninstall.ps1') -Destination $destination
Expand Down
Loading