From 67b68bba944af25e532bb189afd48b7e866e81ca Mon Sep 17 00:00:00 2001 From: MyBlueHorizon Date: Sun, 27 Jun 2021 22:03:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ClassTable/UpdateWindow.xaml.vb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ClassTable/UpdateWindow.xaml.vb b/src/ClassTable/UpdateWindow.xaml.vb index 514a5ab..53f866b 100644 --- a/src/ClassTable/UpdateWindow.xaml.vb +++ b/src/ClassTable/UpdateWindow.xaml.vb @@ -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 @@ -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