From 2d2742ffc6c9c4789f98527d3bdf5665b08489a8 Mon Sep 17 00:00:00 2001 From: kirank55 Date: Thu, 19 Nov 2026 12:56:26 +0000 Subject: [PATCH] Give the package check time for the 40 s launch-check exit #8 raised the app's --launch-check auto-quit from 12 s to 40 s, but package-check.ps1 still waited 25 s for the app to exit, so the release workflow failed at "Verify package install and uninstall" for v0.3.0. It only runs on tags, so pull request CI never caught it. Co-Authored-By: Claude Opus 5.5 --- scripts/package-check.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/package-check.ps1 b/scripts/package-check.ps1 index e6aee2c..9f31871 100644 --- a/scripts/package-check.ps1 +++ b/scripts/package-check.ps1 @@ -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