private void Http_DownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
{
string filename = Assembly.GetExecutingAssembly().Location;
File.Move(filename, filename + ".delete");
File.Move(DownloadFileName, Environment.CurrentDirectory + $@"\BiliRanking.exe");
MessageBox.Show($"新版本已经准备完毕//天书好是辛苦的呢!\r\n我要重启自己来更新咯(●'◡'●)", "注意啊啊啊", MessageBoxButtons.OK, MessageBoxIcon.Information);
System.Diagnostics.Process.Start(Environment.CurrentDirectory + $@"\BiliRanking.exe");
//File.Move(filename + ".new", "BiliRanking.exe");
Application.Exit();
}