|
|
@ -44,7 +44,6 @@ namespace AnimeSoftware |
|
|
|
using (WebClient client = new WebClient()) |
|
|
|
using (WebClient client = new WebClient()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
string s = client.DownloadString(url); |
|
|
|
string s = client.DownloadString(url); |
|
|
|
Console.WriteLine(s); |
|
|
|
|
|
|
|
if (version != s.Substring(0, 5)) |
|
|
|
if (version != s.Substring(0, 5)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
DialogResult result = MessageBox.Show("New update: " + s + "\nRedirect to github?", "New version.", MessageBoxButtons.YesNo); |
|
|
|
DialogResult result = MessageBox.Show("New update: " + s + "\nRedirect to github?", "New version.", MessageBoxButtons.YesNo); |
|
|
|