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
@@ -2423,6 +2423,16 @@ stderr. Flush warnings/errors promptly, redact as elsewhere, and make `Open log`
target the current file after rotation. Add native icon/version/service metadata;
release signing and checksum publication are Phase 8 gates.
Provide opt-in `scripts/release build --windows-compression upx` packaging with
checksum-pinned UPX in the Docker toolchain. Retain an unpacked same-version
fallback; never require a packer/extractor on the Windows host. Keep version,
manifest, and icon resources uncompressed and compare extracted resources;
retain relocations and require UPX integrity plus size reduction. Pack before
optional signing, sign/checksum both variants, and record compression in the
release manifest. Keep ordinary packaging as the default until compressed
service/tray/launcher/helper execution passes native acceptance. Document the
startup/memory and antivirus tradeoffs and fallback procedure.
### 7.6 Windows-first client unit and native integration tests
Unit-test shared runtime/spool behavior with fake transport/clock/storage fault