From e7aa01ebc836b98da55b4d987ba9b032203b52be Mon Sep 17 00:00:00 2001 From: sinaioutlander <49360850+sinaioutlander@users.noreply.github.com> Date: Sun, 4 Oct 2020 19:01:39 +1100 Subject: [PATCH] 1.8.3 * Merging `mcs.dll` into the main `Explorer.dll` file, no longer needs to be in the Mods / Plugins folder. --- src/Explorer.csproj | 6 ++---- src/ExplorerBepInPlugin.cs | 13 ------------- src/ExplorerCore.cs | 2 +- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/src/Explorer.csproj b/src/Explorer.csproj index 4272ad3..b467ce3 100644 --- a/src/Explorer.csproj +++ b/src/Explorer.csproj @@ -27,14 +27,12 @@ Explorer D:\Steam\steamapps\common\Hellpoint - D:\Steam\steamapps\common\Outward D:\Steam\steamapps\common\Outward - Il2Cpp D:\Steam\steamapps\common\Outward - v4.7.2 @@ -95,11 +93,11 @@ ..\lib\mcs.dll - True + False ..\lib\mcs.NET35.dll - True + False diff --git a/src/ExplorerBepInPlugin.cs b/src/ExplorerBepInPlugin.cs index 847cb61..d32b458 100644 --- a/src/ExplorerBepInPlugin.cs +++ b/src/ExplorerBepInPlugin.cs @@ -62,24 +62,11 @@ namespace Explorer SceneManager.activeSceneChanged += DoSceneChange; #endif - LoadMCS(); - new ExplorerCore(); //HarmonyInstance.PatchAll(); } - void LoadMCS() - { -#if NET35 - var path = @"BepInEx\plugins\mcs.NET35.dll"; -#else - var path = @"BepInEx\plugins\mcs.dll"; -#endif - Assembly.Load(File.ReadAllBytes(path)); - ExplorerCore.Log("Loaded mcs!"); - } - internal static void DoSceneChange(Scene arg0, Scene arg1) { ExplorerCore.OnSceneChange(); diff --git a/src/ExplorerCore.cs b/src/ExplorerCore.cs index bba9e3a..8966908 100644 --- a/src/ExplorerCore.cs +++ b/src/ExplorerCore.cs @@ -5,7 +5,7 @@ namespace Explorer public class ExplorerCore { public const string NAME = "Explorer (" + PLATFORM + ", " + MODLOADER + ")"; - public const string VERSION = "1.8.23"; + public const string VERSION = "1.8.3"; public const string AUTHOR = "Sinai"; public const string GUID = "com.sinai.explorer";