Tweak async and deploy debug for now so debugger can be attached

This commit is contained in:
2024-09-30 18:18:59 -04:00
parent fe0b0895b4
commit 6d4d33c82f
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ jobs:
dotnet-version: 8.0.x
- 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
run: |

View File

@@ -13,13 +13,13 @@ public partial class UpdateSettingsPanel
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;
Cursor = Cursors.Wait;
UpdateCheck.DisplayUpdateInformation(true).Wait();
await UpdateCheck.DisplayUpdateInformation(true);
Cursor = cursor;
}