build: add optional compact Windows release packaging

This commit is contained in:
cabbage committed 2026-10-27 15:43:51 +00:00
1 parent ee7844cb40
commit 789342ab4f
6 files changed
+114 -6

No files matched your search

+10
View File
@@ -295,6 +295,16 @@ while Helium is offline; passing portable tests and Windows cross-compilation
does not prove them. Retain the previous installer for recovery during physical
testing, and collect `service-startup.log` if service start fails.
For releases built with `--windows-compression upx`, the packaging gate requires
UPX integrity, smaller output, and identical extracted icon/version/manifest
resources. Repeat the native lifecycle checks above using the **packed**
installer, then verify reconnection, SCM restart/reboot, tray actions, and both
ordinary and elevated commands. Every launcher/signal-helper also runs from
the packed executable; checking only its install dialog is insufficient.
Keep the same-release unpacked fallback for isolating compression-specific
failures. Packed execution remains unverified while no Windows fixture is
available; Linux-side UPX integrity is not a Windows test result.
Regression `BH-WINTRAY-06` checks successful HRESULTs (`S_OK` and `S_FALSE`)
versus actual failures. On the Windows 10 fixture, the installed, responsive
tray returned `S_FALSE` (`1`) with valid icon coordinates; a readiness check