From 64b4135be41d01c2c7e583de19d4293bf1959f7b Mon Sep 17 00:00:00 2001 From: Herp Derpinstine Date: Fri, 8 Jan 2021 22:52:59 -0600 Subject: [PATCH] Fixed Issue with Existing MelonLoader Install Check Failing to Detect --- CHANGELOG.md | 7 +++++++ MainForm.cs | 2 +- Properties/BuildInfo.cs | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c5a634..5f3d77c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,17 @@ ### Version List: +[v3.0.2](#v302) [v3.0.1](#v301) [v3.0.0](#v300) --- +### v3.0.2: + +1. Fixed Issue with Existing MelonLoader Install Check Failing to Detect. + +--- + ### v3.0.1: 1. Fixed Issue with "Show ALPHA Pre-Releases" Setting not Coloring properly. diff --git a/MainForm.cs b/MainForm.cs index 4505101..9e9a694 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -119,7 +119,7 @@ private void CheckUnityGame() string folder_path = Path.Combine(Path.GetDirectoryName(Automated_UnityGame_Display.Text), "MelonLoader"); string legacy_file_path = Path.Combine(folder_path, "MelonLoader.ModHandler.dll"); string file_path = Path.Combine(folder_path, "MelonLoader.dll"); - if (!File.Exists(legacy_file_path) || !File.Exists(file_path)) + if (!File.Exists(legacy_file_path) && !File.Exists(file_path)) { ManualZip_Install.Text = "INSTALL"; Automated_Install.Text = "INSTALL"; diff --git a/Properties/BuildInfo.cs b/Properties/BuildInfo.cs index c5bfa98..afeef3a 100644 --- a/Properties/BuildInfo.cs +++ b/Properties/BuildInfo.cs @@ -6,6 +6,6 @@ public static class BuildInfo public const string Description = "MelonLoader Installer"; public const string Author = "Lava Gang"; public const string Company = "discord.gg/2Wn3N2P"; - public const string Version = "3.0.1"; + public const string Version = "3.0.2"; } } \ No newline at end of file