Skip to content

Commit

Permalink
Simpler?
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardosouzag committed Feb 14, 2018
1 parent c68b012 commit cf86888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ModInstaller.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModInstaller", "WindowsFormsApp3\ModInstaller.csproj", "{B2643F2F-418A-448E-875F-9D07D4780F3C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ModInstaller", "ModInstaller\ModInstaller.csproj", "{B2643F2F-418A-448E-875F-9D07D4780F3C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
4 changes: 2 additions & 2 deletions ModInstaller/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void button3_Click(object sender, EventArgs e)
mods.Add(System.IO.Path.GetFileName(mod));
}
label3.Text = "Selected file(s): \n" + String.Join("\n", mods.ToArray());
button4.Enabled = ((folderBrowserDialog1.SelectedPath != "folderBrowserDialog1") && (openFileDialog2.FileName != "openFileDialog2"));
button4.Enabled = ((folderBrowserDialog1.SelectedPath != "") && (openFileDialog2.FileName != "openFileDialog2"));
}
}

Expand All @@ -65,7 +65,7 @@ private void button4_Click(object sender, EventArgs e)

private void Form1_Load(object sender, EventArgs e)
{
MessageBox.Show("Use this application to install API mods.\nNavigate to your Steam/GOG Hollow Knight installation path using the first button.\nUsing the second button you can select the Modding API and using the third button you can select which mods to install.\nAfter that, simply click the Install button and it should automatically install everything in the correct paths.");
MessageBox.Show("Use this application to install API mods.");
}
}
}

0 comments on commit cf86888

Please sign in to comment.