Skip to content

Commit da26114

Browse files
committed
Update WPF UI
1 parent 1cc8147 commit da26114

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/winget.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: vedantmgoyal2009/winget-releaser@v2
11+
- uses: vedantmgoyal9/winget-releaser@main
1212
with:
1313
identifier: pizzaboxer.Bloxstrap
1414
token: ${{ secrets.WINGET_TOKEN }}

Bloxstrap/Installer.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,10 @@ public static void HandleUpgrade()
618618

619619
if (isAutoUpgrade)
620620
{
621-
Utilities.ShellExecute($"https://github.com/{App.ProjectRepository}/wiki/Release-notes-for-Bloxstrap-v{currentVer}");
621+
#pragma warning disable CS0162 // Unreachable code detected
622+
if (OpenReleaseNotes)
623+
Utilities.ShellExecute($"https://github.com/{App.ProjectRepository}/wiki/Release-notes-for-Bloxstrap-v{currentVer}");
624+
#pragma warning restore CS0162 // Unreachable code detected
622625
}
623626
else
624627
{

0 commit comments

Comments
 (0)