From 8bece453e38d328b198be312db052c4d6f64fafa Mon Sep 17 00:00:00 2001 From: sinaioutlander <49360850+sinaioutlander@users.noreply.github.com> Date: Sat, 8 Aug 2020 00:18:57 +1000 Subject: [PATCH] 1.0.0 finalize --- src/CppExplorer.cs | 31 ++++--------------------------- src/Properties/AssemblyInfo.cs | 8 ++++---- 2 files changed, 8 insertions(+), 31 deletions(-) diff --git a/src/CppExplorer.cs b/src/CppExplorer.cs index f00aec9..f6861b9 100644 --- a/src/CppExplorer.cs +++ b/src/CppExplorer.cs @@ -4,15 +4,8 @@ using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; -using System.IO; -using System.Reflection; using MelonLoader; -using Harmony; -using UnhollowerBaseLib.Runtime; -using UnhollowerRuntimeLib; using UnhollowerBaseLib; -using System.Runtime.CompilerServices; -using UnhollowerBaseLib.Attributes; namespace Explorer { @@ -20,9 +13,9 @@ namespace Explorer { // consts - public const string ID = "com.sinai.explorer"; + public const string ID = "com.sinai.cppexplorer"; public const string NAME = "IL2CPP Runtime Explorer"; - public const string VERSION = "0.91"; + public const string VERSION = "1.0.0"; public const string AUTHOR = "Sinai"; // fields @@ -65,32 +58,16 @@ namespace Explorer Instance = this; - LoadMCS(); - new MainMenu(); new WindowManager(); - var harmony = HarmonyInstance.Create(ID); - harmony.PatchAll(); + //var harmony = HarmonyInstance.Create(ID); + //harmony.PatchAll(); // done init ShowMenu = true; } - private void LoadMCS() - { - var mcsPath = @"Mods\mcs.dll"; - if (File.Exists(mcsPath)) - { - Assembly.Load(File.ReadAllBytes(mcsPath)); - MelonLogger.Log("Loaded mcs.dll"); - } - else - { - MelonLogger.LogError("Could not find mcs.dll!"); - } - } - public override void OnLevelWasLoaded(int level) { if (ScenePage.Instance != null) diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs index 9033bec..38d40b3 100644 --- a/src/Properties/AssemblyInfo.cs +++ b/src/Properties/AssemblyInfo.cs @@ -10,12 +10,12 @@ using MelonLoader; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("CppExplorer")] +[assembly: AssemblyTitle(CppExplorer.NAME)] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("CppExplorer")] -[assembly: AssemblyCopyright("By Sinai")] +[assembly: AssemblyCompany(CppExplorer.AUTHOR)] +[assembly: AssemblyProduct(CppExplorer.NAME)] +[assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]