Skip to content

Commit

Permalink
Open Releases page when the user clicks "Yes" on the update dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Strappazzon committed Mar 12, 2020
1 parent ba201b1 commit 04c3506
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Form1.vb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ Public Class Form1

'Compare downloaded SuperBLT Hasher version number with the current one
If FetchedVer > VersionCode Then
MessageBox.Show("A newer version of SuperBLT Hasher is available. Do you want to visit the download page now?", "Update available", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1)
Dim result = MessageBox.Show("A newer version of SuperBLT Hasher is available. Do you want to visit the download page now?", "Update available", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1)
If result = DialogResult.Yes Then
Process.Start("https://github.com/Strappazzon/PD2-SuperBLT-Hasher/releases/latest")
End If
End If
End If
End Sub
Expand Down

0 comments on commit 04c3506

Please sign in to comment.