Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Setup keeps an empty Inno task list as unknown; note the font trade-off

KnifeLemon5f32b6ae7db6
diff --git a/src/Filee.Setup/Filee.Setup.csproj b/src/Filee.Setup/Filee.Setup.csproj
index 2e1bd88f..e2faeb08 100644
--- a/src/Filee.Setup/Filee.Setup.csproj
+++ b/src/Filee.Setup/Filee.Setup.csproj
@@ -54,6 +54,8 @@
<AvaloniaResource Include="..\Filee.App\Styles\Soft.axaml" Link="Styles\Soft.axaml" />
<AvaloniaResource Include="..\Filee.App\Assets\Icons\filee.ico" Link="Assets\Icons\filee.ico" />
<AvaloniaResource Include="..\Filee.App\Assets\Icons\filee.png" Link="Assets\Icons\filee.png" />
+ <!-- All of the app's Noto fonts, CJK included (~37 MB of Setup's size): with Windows' own CJK fonts instead, Korean,
+ Japanese and Chinese headings lose their weight. Drop the *.otf to save the space. -->
<AvaloniaResource Include="..\Filee.App\Assets\Fonts\*.ttf;..\Filee.App\Assets\Fonts\*.otf" Link="Assets\Fonts\%(Filename)%(Extension)" />
<EmbeddedResource Include="..\Filee.App\Assets\i18n\*.json" Link="i18n\%(Filename)%(Extension)" LogicalName="i18n.%(Filename)%(Extension)" />
</ItemGroup>
diff --git a/src/Filee.Setup/Installation/PreviousInstall.cs b/src/Filee.Setup/Installation/PreviousInstall.cs
index 1feba24c..09a73343 100644
--- a/src/Filee.Setup/Installation/PreviousInstall.cs
+++ b/src/Filee.Setup/Installation/PreviousInstall.cs
@@ -47,7 +47,8 @@ public sealed record PreviousInstall(
registry.Get(hive, key, "DisplayVersion")?.Text,
scope,
byInno,
- tasks is null ? null : SetupTasks.FromInnoString(tasks),
+ // Inno Setup leaves the value empty after an update that showed no options.
+ string.IsNullOrWhiteSpace(tasks) ? null : SetupTasks.FromInnoString(tasks),
language,
InstallRecord.Read(folder));
}