From 876abf6ee3db563876c6c18cb3cbd8a711fe2775 Mon Sep 17 00:00:00 2001 From: tsoolgee <291792265+tsoolgee@users.noreply.github.com> Date: Tue, 17 Nov 2026 18:52:13 +0200 Subject: [PATCH] fix: use lzma2 compression instead of lzma2/max in installer lzma2/max is 5-10x slower to build than lzma2 (normal) with minimal size benefit for Electron bundles, whose Chromium/Node binaries are already non-compressible. This change keeps the same LZMA algorithm but drops the ultra-slow max level, so both CI builds and local developer builds finish in reasonable time. The CompressionLevel define still lets callers override it via /DCompressionLevel=... if they need the original behaviour. Fixes #37 Co-Authored-By: Claude Sonnet 4.6 --- scripts/installer.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/installer.iss b/scripts/installer.iss index 208ac3c..6b59532 100644 --- a/scripts/installer.iss +++ b/scripts/installer.iss @@ -15,7 +15,7 @@ #define SourceDir "..\dist\TypesetOK-v" + MyAppVersion + "-windows-x64" #ifndef CompressionLevel - #define CompressionLevel "lzma2/max" + #define CompressionLevel "lzma2" #endif [Setup]