ui(manager): use popup for app update message
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user