mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-31 06:48:23 -04:00
Implement auto-update via Onova
This commit is contained in:
parent
7bfd645e8e
commit
63c835df88
11 changed files with 187 additions and 22 deletions
|
@ -28,9 +28,7 @@ namespace DiscordChatExporter.Gui
|
|||
SimpleIoc.Default.Register<IExportService, ExportService>();
|
||||
SimpleIoc.Default.Register<IMessageGroupService, MessageGroupService>();
|
||||
SimpleIoc.Default.Register<ISettingsService, SettingsService>();
|
||||
|
||||
// Load settings
|
||||
Resolve<ISettingsService>().Load();
|
||||
SimpleIoc.Default.Register<IUpdateService, UpdateService>();
|
||||
|
||||
// View models
|
||||
SimpleIoc.Default.Register<IErrorViewModel, ErrorViewModel>(true);
|
||||
|
@ -42,8 +40,6 @@ namespace DiscordChatExporter.Gui
|
|||
|
||||
public void Cleanup()
|
||||
{
|
||||
// Save settings
|
||||
ServiceLocator.Current.GetInstance<ISettingsService>().Save();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue