enable trimming

This commit is contained in:
2025-11-18 06:53:23 +01:00
parent b87d896b8f
commit d44ccbaaab
8 changed files with 42 additions and 6 deletions

View File

@@ -189,7 +189,7 @@ public partial class MainForm : Window
{
lastUpdateCheckResult = await updater.Check(updateOptions);
}
catch (Exception)
catch
{
error();
if (Debugger.IsAttached)
@@ -275,7 +275,7 @@ public partial class MainForm : Window
private async void MainForm_Loaded(object? sender, RoutedEventArgs e)
{
var updates = new AppUpdates(Program.UpdateUrl, this);
updates.OnDownloadProgramUpdate += (o, args) => SetStatus(GeneralLangRes.DownloadProgramUpdate, AppGlobals.Symbols.GetImageSource(AppSymbols.software_installer));
updates.OnDownloadProgramUpdate += (o, _) => SetStatus(GeneralLangRes.DownloadProgramUpdate, AppGlobals.Symbols.GetImageSource(AppSymbols.software_installer));
await updates.UpdateApp();
ClearStatus();