Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
fixes (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimitLost authored Mar 23, 2020
1 parent 34e9070 commit 66b9668
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 148 deletions.
1 change: 0 additions & 1 deletion ResourceHubLauncher/MainForm.Designer.cs

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

242 changes: 97 additions & 145 deletions ResourceHubLauncher/MainForm.cs

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions ResourceHubLauncher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static void Start(Loading loading, string[] args) {
Clipboard.SetText(md5.ToString());

if ((string)Config.Options["gpath"] == "" || !File.Exists((string)Config.Options["gpath"])) {
if (MetroMessageBox.Show(form, "Select it!", "We couldn't find the Goose .exe file.", MessageBoxButtons.OK, MessageBoxIcon.Information) == DialogResult.OK) {
if (MetroMessageBox.Show(form, "To start using the Launcher, you need to select the GooseDesktop.exe file. Press OK to do so now.", "Is it your first time using the Launcher?", MessageBoxButtons.OK, MessageBoxIcon.Information) == DialogResult.OK) {
using (OpenFileDialog oFileDialog = new OpenFileDialog()) {
oFileDialog.InitialDirectory = @"C:\";
oFileDialog.Filter = "GooseDesktop.exe|GooseDesktop.exe";
Expand Down Expand Up @@ -177,7 +177,7 @@ static void Main(string[] args) {

if (!_G.dev) ShowWindow(handle, SW_HIDE);

Console.WriteLine("ResourceHub Launcher has started!\n\n");
Console.WriteLine("RESOURCEHUB LAUNCHER\nStarted!\n\n");

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Expand All @@ -187,6 +187,7 @@ static void Main(string[] args) {
Console.Title = "ResourceHub Launcher // Developer Console";
Console.WriteLine("Checking internet connection...");
if (!CheckForInternetConnection()) {
Console.WriteLine("Didn't find any internet connection.");
if (MessageBox.Show("Hmm... It doesn't look like you have any internet connection.\nThe ResourceHub Launcher cannot function properly without any internet connection.\nPlease try again when you do get an internet connection though!", "(☓‿‿☓)", MessageBoxButtons.OK, MessageBoxIcon.Error) == DialogResult.OK) {
return;
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 66b9668

Please sign in to comment.