mirror of
https://github.com/ckaczor/WorldClockStatusWindow.git
synced 2026-01-31 01:35:36 -05:00
Compare commits
2 Commits
v2024.9.11
...
v2024.9.13
| Author | SHA1 | Date | |
|---|---|---|---|
| 6d4d33c82f | |||
| fe0b0895b4 |
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
- name: Publish Application
|
- name: Publish Application
|
||||||
run: dotnet publish WorldClockStatusWindow.csproj -c Release -o publish
|
run: dotnet publish WorldClockStatusWindow.csproj -c Debug -o publish
|
||||||
|
|
||||||
- name: Create Velopack Release
|
- name: Create Velopack Release
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ public partial class UpdateSettingsPanel
|
|||||||
|
|
||||||
public override string CategoryName => Properties.Resources.optionCategoryUpdate;
|
public override string CategoryName => Properties.Resources.optionCategoryUpdate;
|
||||||
|
|
||||||
private void HandleCheckVersionNowButtonClick(object sender, RoutedEventArgs e)
|
private async void HandleCheckVersionNowButtonClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var cursor = Cursor;
|
var cursor = Cursor;
|
||||||
|
|
||||||
Cursor = Cursors.Wait;
|
Cursor = Cursors.Wait;
|
||||||
|
|
||||||
UpdateCheck.DisplayUpdateInformation(true);
|
await UpdateCheck.DisplayUpdateInformation(true);
|
||||||
|
|
||||||
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