mirror of
https://github.com/ckaczor/WorldClockStatusWindow.git
synced 2026-01-13 17:23:18 -05:00
Tweak async and deploy debug for now so debugger can be attached
This commit is contained in:
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).Wait();
|
await UpdateCheck.DisplayUpdateInformation(true);
|
||||||
|
|
||||||
Cursor = cursor;
|
Cursor = cursor;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user