ui(manager): use popup for app update message

This commit is contained in:
Pascal
2025-11-19 07:55:46 +01:00
parent 0ae2a780b0
commit f21e31ebcc
2 changed files with 27 additions and 14 deletions

View File

@@ -129,7 +129,10 @@ public partial class MainWindow : Window, IMainApi
private async void Window_OnLoaded(object? sender, RoutedEventArgs e)
{
var updater = new AppUpdates(Program.UpdateUrl, this);
var updater = new AppUpdates(Program.UpdateUrl, this)
{
UsePopups = true,
};
updater.OnDownloadProgramUpdate += (o, _) => Model.Progress.Start();
await updater.UpdateApp();
Model.Progress.Stop();