Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Feb 12, 2021
1 parent 9ce88fd commit ed90b5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ internal static bool ValidateZipPath(string filepath)
return true;
}

internal static string GetFilePathFromShortcut(string shortcut_path)
private static string GetFilePathFromShortcut(string shortcut_path)
{
string shortcut_extension = Path.GetExtension(shortcut_path);
if (shortcut_extension.Equals(".lnk"))
Expand Down
2 changes: 2 additions & 0 deletions ThreadHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ private static void GetReleases()
internal static void RefreshReleases()
{
Program.mainForm.Invoke(new Action(() => {
/*
if (!string.IsNullOrEmpty(CommandLine.ExePath))
{
if (Program.ValidateUnityGamePath(ref CommandLine.ExePath))
Expand All @@ -128,6 +129,7 @@ internal static void RefreshReleases()
else
MessageBox.Show("Invalid File Selected!", BuildInfo.Name, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
*/
Program.mainForm.PageManager.Cursor = Cursors.Hand;
Program.mainForm.Tab_Automated.Text = "Automated ";
Program.mainForm.PleaseWait_PleaseWait.Visible = true;
Expand Down

0 comments on commit ed90b5a

Please sign in to comment.