feat: complete 2.0.7.12 platform overhaul

This commit is contained in:
2026-08-16 19:33:03 +08:00
parent 73555cd04c
commit c9fa6f7a88
159 changed files with 13243 additions and 2539 deletions
+10 -3
View File
@@ -56,8 +56,12 @@ DefaultGroupName={#MyAppName}
OutputDir=..\installer_output
OutputBaseFilename=YMhut_Box_WinUI_Setup_{#MyAppVersion}
Compression=lzma2
CompressionThreads=auto
LZMADictionarySize=1048576
; Preserve a high compression ratio without returning to the 1 GiB dictionary,
; which requires more than 11 GiB of working memory for this solid payload.
CompressionThreads=1
LZMADictionarySize=262144
LZMANumFastBytes=273
LZMAUseSeparateProcess=yes
SolidCompression=yes
WizardStyle=modern
ShowLanguageDialog=yes
@@ -1059,7 +1063,10 @@ begin
if (CurProgress > 0) then
begin
ProgressPercent := CurProgress * 100 div MaxProgress;
{ CurProgress can represent tens or hundreds of millions of bytes. Cast
before multiplying so large payloads do not raise an integer-overflow
runtime error from the progress callback. }
ProgressPercent := (Int64(CurProgress) * 100) div MaxProgress;
if ProgressPercent <> LastInstallProgressPercent then
begin
LastInstallProgressPercent := ProgressPercent;