Skip to content

Commit

Permalink
1st release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetal728 committed May 20, 2015
1 parent 2f29127 commit 877b261
Show file tree
Hide file tree
Showing 21 changed files with 175 additions and 1,147 deletions.
4 changes: 2 additions & 2 deletions GUI/PortTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private void linkManually_LinkClicked(object sender, LinkLabelLinkClickedEventAr
}

private void linkHelp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
try { Process.Start( "http://www.comingsoon.tk/community/forum/46-help-support/" ); }
try { Process.Start( "http://www.mcgalaxy.ml" ); }
catch { }
}

Expand Down Expand Up @@ -129,7 +129,7 @@ private void PortChecker_FormClosing(object sender, FormClosingEventArgs e) {
}

private void linkHelpForward_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
try { Process.Start("https://github.com/MCGalaxy/MCGalaxy-Vanilla/wiki/Setup%20MCGalaxy%205.5.0.2"); }
try { Process.Start("https://portforward.com"); }
catch { }
}

Expand Down
12 changes: 5 additions & 7 deletions GUI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ public static class Program
public static string parent = Path.GetFileName(Assembly.GetEntryAssembly().Location);
public static string parentfullpath = Assembly.GetEntryAssembly().Location;
public static string parentfullpathdir = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
private static string CurrentVersionFile = "http://update.comingsoon.tk/current_version.txt";
private static string DLLLocation = "http://update.comingsoon.tk/dll/MCGalaxy_.dll";
private static string ChangelogLocation = "http://update.comingsoon.tk/changelog.txt";
private static string EXELocation = "http://update.comingsoon.tk/program/MCGalaxy.exe";
//private static string RevisionList = "http://update.comingsoon.tk/revs.txt";
//private static string HeartbeatAnnounce = "http://www.comingsoon.tk/hbannounce.php";
private static string CurrentVersionFile = "https://raw.githubusercontent.com/Hetal728/MCGalaxy/master/Uploads/current_version.txt";
private static string DLLLocation = "https://github.com/Hetal728/MCGalaxy/blob/master/Uploads/MCGalaxy_.dll?raw=true";
private static string ChangelogLocation = "https://raw.githubusercontent.com/Hetal728/MCGalaxy/master/Changelog.txt";
private static string EXELocation = "https://github.com/Hetal728/MCGalaxy/blob/master/Uploads/MCGalaxy.exe?raw=true";

[DllImport("kernel32")]
public static extern IntPtr GetConsoleWindow();
Expand Down Expand Up @@ -451,7 +449,7 @@ public static void UpdateCheck(bool wait = false, Player p = null)
Player.SendMessage(p, "No update found!");
}
}
catch { try { Server.s.Log("No web server found to update on."); } catch { } }
catch(Exception e) { /*try { Server.s.Log("No web server found to update on.");*/Logger.WriteError(e); } /*catch { }*/ //}
Client.Dispose();
CurrentUpdate = false;
})); updateThread.Start();
Expand Down
2 changes: 1 addition & 1 deletion GUI/PropertyWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

142 changes: 72 additions & 70 deletions GUI/Window.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 877b261

Please sign in to comment.