Workaround for Settings.Upgrade with Squirrel

This commit is contained in:
2018-02-22 14:08:34 -05:00
parent c865cc0d1c
commit 359ff583db
4 changed files with 69 additions and 11 deletions

View File

@@ -43,14 +43,14 @@ namespace ProcessCpuUsageStatusWindow
return;
_dispatcher.Invoke(() => _floatingStatusWindow.SetText(Resources.Updating));
Thread.Sleep(1000);
Thread.Sleep(500);
SettingsExtensions.BackupSettings();
#if !DEBUG
await updateManager.DownloadReleases(new[] { lastVersion });
await updateManager.ApplyReleases(updates);
await updateManager.UpdateApp();
Thread.Sleep(1000);
#endif
}