Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 8bece45

Browse files
committed
1.0.0 finalize
1 parent 692a721 commit 8bece45

File tree

2 files changed

+8
-31
lines changed

2 files changed

+8
-31
lines changed

src/CppExplorer.cs

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,18 @@
44
using System.Linq;
55
using System.Text;
66
using UnityEngine;
7-
using System.IO;
8-
using System.Reflection;
97
using MelonLoader;
10-
using Harmony;
11-
using UnhollowerBaseLib.Runtime;
12-
using UnhollowerRuntimeLib;
138
using UnhollowerBaseLib;
14-
using System.Runtime.CompilerServices;
15-
using UnhollowerBaseLib.Attributes;
169

1710
namespace Explorer
1811
{
1912
public class CppExplorer : MelonMod
2013
{
2114
// consts
2215

23-
public const string ID = "com.sinai.explorer";
16+
public const string ID = "com.sinai.cppexplorer";
2417
public const string NAME = "IL2CPP Runtime Explorer";
25-
public const string VERSION = "0.91";
18+
public const string VERSION = "1.0.0";
2619
public const string AUTHOR = "Sinai";
2720

2821
// fields
@@ -65,32 +58,16 @@ public override void OnApplicationStart()
6558

6659
Instance = this;
6760

68-
LoadMCS();
69-
7061
new MainMenu();
7162
new WindowManager();
7263

73-
var harmony = HarmonyInstance.Create(ID);
74-
harmony.PatchAll();
64+
//var harmony = HarmonyInstance.Create(ID);
65+
//harmony.PatchAll();
7566

7667
// done init
7768
ShowMenu = true;
7869
}
7970

80-
private void LoadMCS()
81-
{
82-
var mcsPath = @"Mods\mcs.dll";
83-
if (File.Exists(mcsPath))
84-
{
85-
Assembly.Load(File.ReadAllBytes(mcsPath));
86-
MelonLogger.Log("Loaded mcs.dll");
87-
}
88-
else
89-
{
90-
MelonLogger.LogError("Could not find mcs.dll!");
91-
}
92-
}
93-
9471
public override void OnLevelWasLoaded(int level)
9572
{
9673
if (ScenePage.Instance != null)

src/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
// General Information about an assembly is controlled through the following
1111
// set of attributes. Change these attribute values to modify the information
1212
// associated with an assembly.
13-
[assembly: AssemblyTitle("CppExplorer")]
13+
[assembly: AssemblyTitle(CppExplorer.NAME)]
1414
[assembly: AssemblyDescription("")]
1515
[assembly: AssemblyConfiguration("")]
16-
[assembly: AssemblyCompany("")]
17-
[assembly: AssemblyProduct("CppExplorer")]
18-
[assembly: AssemblyCopyright("By Sinai")]
16+
[assembly: AssemblyCompany(CppExplorer.AUTHOR)]
17+
[assembly: AssemblyProduct(CppExplorer.NAME)]
18+
[assembly: AssemblyCopyright("")]
1919
[assembly: AssemblyTrademark("")]
2020
[assembly: AssemblyCulture("")]
2121

0 commit comments

Comments
 (0)