Migrate to Avalonia (#1220)

This commit is contained in:
Oleksii Holub
2024-04-27 04:17:46 +03:00
committed by GitHub
parent 74f99b4e59
commit b9c1c47474
89 changed files with 2467 additions and 2810 deletions

View File

@@ -51,6 +51,10 @@ public class UpdateService(SettingsService settingsService) : IDisposable
if (!settingsService.IsAutoUpdateEnabled)
return;
// Onova only works on Windows currently
if (!OperatingSystem.IsWindows())
return;
if (_updateVersion is null || !_updatePrepared || _updaterLaunched)
return;