fix update
This commit is contained in:
@@ -306,7 +306,7 @@ public partial class MainForm : Window
|
|||||||
|
|
||||||
private async void MainForm_Loaded(object? sender, RoutedEventArgs e)
|
private async void MainForm_Loaded(object? sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var updates = new AppUpdates("manager", this);
|
var updates = new AppUpdates("client", this);
|
||||||
updates.OnDownloadProgramUpdate += (_, _) => SetStatus(GeneralLangRes.DownloadProgramUpdate, AppGlobals.Symbols.GetImageSource(AppSymbols.software_installer));
|
updates.OnDownloadProgramUpdate += (_, _) => SetStatus(GeneralLangRes.DownloadProgramUpdate, AppGlobals.Symbols.GetImageSource(AppSymbols.software_installer));
|
||||||
await updates.UpdateApp();
|
await updates.UpdateApp();
|
||||||
ClearStatus();
|
ClearStatus();
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ public partial class MainWindow : Window, IMainApi
|
|||||||
|
|
||||||
private async void Window_OnLoaded(object? sender, RoutedEventArgs e)
|
private async void Window_OnLoaded(object? sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var updater = new AppUpdates("client", this)
|
var updater = new AppUpdates("manager", this)
|
||||||
{
|
{
|
||||||
UsePopups = true,
|
UsePopups = true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user