Skip to content

Commit

Permalink
移除调试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
MyBlueHorizon committed Jun 27, 2021
1 parent d9b5907 commit 67b68bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ClassTable/UpdateWindow.xaml.vb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ Public Class UpdateWindow
Label_Progress.Content = Str(e.ProgressPercentage) + " %"
End Sub
Private Sub Client_DownloadFileCompleted(ByVal sender As Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs) Handles DownloadEvents.DownloadFileCompleted
MsgBox(e.Error.ToString)
'Process.Start(UpdateFilePath)
Process.Start(UpdateFilePath)
Windows.Application.Current.Shutdown()
End Sub
Private Sub UpdateWindow_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
Expand Down Expand Up @@ -53,7 +52,6 @@ Public Class UpdateWindow
Button_Update.Content = "刷 新"
End If
Else
MsgBox(Network.GetDownloadUrl(ReleaseInformation))
MyWebClient.DownloadFileAsync(New Uri(Network.GetDownloadUrl(ReleaseInformation)), UpdateFilePath)
Button_Update.IsEnabled = False
End If
Expand Down

0 comments on commit 67b68bb

Please sign in to comment.