mirror of
https://github.com/ckaczor/WorldClockStatusWindow.git
synced 2026-01-31 09:45:37 -05:00
Compare commits
1 Commits
v2024.9.11
...
v2024.9.12
| Author | SHA1 | Date | |
|---|---|---|---|
| fe0b0895b4 |
@@ -19,7 +19,7 @@ public partial class UpdateSettingsPanel
|
|||||||
|
|
||||||
Cursor = Cursors.Wait;
|
Cursor = Cursors.Wait;
|
||||||
|
|
||||||
UpdateCheck.DisplayUpdateInformation(true);
|
UpdateCheck.DisplayUpdateInformation(true).Wait();
|
||||||
|
|
||||||
Cursor = cursor;
|
Cursor = cursor;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
using NuGet.Versioning;
|
using NuGet.Versioning;
|
||||||
using Serilog;
|
using Serilog;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Velopack;
|
using Velopack;
|
||||||
using Velopack.Sources;
|
using Velopack.Sources;
|
||||||
@@ -16,7 +17,7 @@ namespace WorldClockStatusWindow
|
|||||||
|
|
||||||
public static bool IsInstalled => UpdateManager.IsInstalled;
|
public static bool IsInstalled => UpdateManager.IsInstalled;
|
||||||
|
|
||||||
public static async void DisplayUpdateInformation(bool showIfCurrent)
|
public static async Task DisplayUpdateInformation(bool showIfCurrent)
|
||||||
{
|
{
|
||||||
UpdateInfo newVersion = null;
|
UpdateInfo newVersion = null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user