Update only if no exc was thrown
MODIFY
WalletWasabi.Fluent.Desktop/Program.cs
WalletWasabi.Fluent.Desktop/Program.cs
@@ -139,17 +139,16 @@ public class Program
// Trigger the CrashReport process if required.
CrashReporter.Invoke(exceptionToReport);
}
+ else if (Services.UpdateManager.DoUpdateOnClose)
+ {
+ Services.UpdateManager.StartInstallingNewVersion();
+ }
AppDomain.CurrentDomain.UnhandledException -= CurrentDomain_UnhandledException;
TaskScheduler.UnobservedTaskException -= TaskScheduler_UnobservedTaskException;
Logger.LogSoftwareStopped("Wasabi");
- if (Services.UpdateManager.DoUpdateOnClose)
- {
- Services.UpdateManager.StartInstallingNewVersion();
- }
-
return exceptionToReport is { } ? 1 : 0;
}

Update only if no exc was thrown