Add "Update and Close" logic
MODIFY
WalletWasabi.Fluent/ViewModels/StatusIcon/StatusIconViewModel.cs
WalletWasabi.Fluent/ViewModels/StatusIcon/StatusIconViewModel.cs
@@ -10,6 +10,7 @@ using ReactiveUI;
using WalletWasabi.BitcoinCore.Monitoring;
using WalletWasabi.BitcoinP2p;
using WalletWasabi.Fluent.AppServices.Tor;
+using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Fluent.Models;
using WalletWasabi.Helpers;
using WalletWasabi.Models;
@@ -43,6 +44,7 @@ public partial class StatusIconViewModel : IStatusIconViewModel, IDisposable
{
Services.UpdateManager.DoUpdateOnClose = true;
UpdateAvailable = false;
+ AppLifetimeHelper.Shutdown();
});
AskMeLaterCommand = ReactiveCommand.Create(() =>

MODIFY
WalletWasabi.Fluent/Views/StatusIcon/StatusIcon.axaml
WalletWasabi.Fluent/Views/StatusIcon/StatusIcon.axaml
<Button IsVisible="{Binding IsReadyToInstall}" Classes="activeHyperLink" Command="{Binding UpdateCommand}">
<StackPanel Spacing="5" Orientation="Horizontal">
<PathIcon Data="{StaticResource arrow_download_regular}" Height="13" />
- <AccessText Text="Update on Close" />
+ <AccessText Text="Close and Update" />
</StackPanel>
</Button>
<Button IsVisible="{Binding !IsReadyToInstall}" Classes="activeHyperLink" Command="{Binding ManualUpdateCommand}">

Add "Update and Close" logic