Skip to content

Commit

Permalink
More 2.0 Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Supernova3339 committed Aug 17, 2021
1 parent b187526 commit 9415399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private void Form1_Load(object sender, EventArgs e) // load settings
if (SuperPad.Properties.Settings.Default.Update == "true")
{
WebClient updatecheck = new WebClient();
if (!updatecheck.DownloadString("http://dl.supers0ft.us/superpad").Contains("1.9"))
if (!updatecheck.DownloadString("http://dl.supers0ft.us/superpad").Contains("2.0"))
{
//outdated
notifyIcon1.ShowBalloonTip(1000, "Automatic Updater", "Updates found\n\nClick this notification to install the update", ToolTipIcon.Info);
Expand Down Expand Up @@ -214,7 +214,7 @@ private void checkForUpdatesToolStripMenuItem_Click(object sender, EventArgs e)
private void timer1_Tick(object sender, EventArgs e)
{
WebClient updatecheck = new WebClient();
if (!updatecheck.DownloadString("http://dl.supers0ft.us/superpad").Contains("1.9"))
if (!updatecheck.DownloadString("http://dl.supers0ft.us/superpad").Contains("2.0"))
{
// outdated
timer1.Stop();
Expand Down

0 comments on commit 9415399

Please sign in to comment.