Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Commit

Permalink
Overlay version check routine modified.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZCube committed May 22, 2017
1 parent c7b3462 commit c8dc98d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ACTWebSocket.Core/ACTWebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ private void ACTWebSocket_Load(object sender, EventArgs e)
}
}, TaskScheduler.FromCurrentSynchronizationContext());
VersionCheck();
OverlayVersionCheck();
OverlayVersionCheck(gamepath.Text);
CheckUpdate();
}

Expand Down Expand Up @@ -3101,6 +3101,7 @@ private void buttonDXInstall_Click(object sender, EventArgs e)
}
zipArchive.Dispose();
File.WriteAllText(versionFile, version);
MessageBox.Show("Successfully installed");
}
catch (Exception ex)
{
Expand All @@ -3112,9 +3113,8 @@ private void buttonDXInstall_Click(object sender, EventArgs e)
buttonDXInstall.Enabled = true;
gamepath.Enabled = true;
game.Enabled = true;
OverlayVersionCheck();
OverlayVersionCheck(gamepath.Text);
SaveSettings();
MessageBox.Show("Successfully installed");
}, TaskScheduler.FromCurrentSynchronizationContext());
};
//+= new AsyncCompletedEventHandler(Completed);
Expand All @@ -3128,7 +3128,7 @@ private void buttonDXInstall_Click(object sender, EventArgs e)
buttonDXInstall.Enabled = true;
gamepath.Enabled = true;
game.Enabled = true;
OverlayVersionCheck();
OverlayVersionCheck(gamepath.Text);
SaveSettings();
MessageBox.Show(ex.Message);
}
Expand Down Expand Up @@ -3163,7 +3163,7 @@ private void buttonOverlayGitHub_Click(object sender, EventArgs e)

private void buttonOverlayVersionCheck_Click(object sender, EventArgs e)
{
OverlayVersionCheck();
OverlayVersionCheck(gamepath.Text);
}

String releaseOverlayTag = null;
Expand Down

0 comments on commit c8dc98d

Please sign in to comment.