diff --git a/src/ExplorerCore.cs b/src/ExplorerCore.cs index 3b667c5..24d912a 100644 --- a/src/ExplorerCore.cs +++ b/src/ExplorerCore.cs @@ -17,7 +17,7 @@ namespace UnityExplorer public static class ExplorerCore { public const string NAME = "UnityExplorer"; - public const string VERSION = "4.5.3"; + public const string VERSION = "4.5.4"; public const string AUTHOR = "Sinai"; public const string GUID = "com.sinai.unityexplorer"; diff --git a/src/Loader/MelonLoader/ExplorerMelonMod.cs b/src/Loader/MelonLoader/ExplorerMelonMod.cs index a588218..59c6c3d 100644 --- a/src/Loader/MelonLoader/ExplorerMelonMod.cs +++ b/src/Loader/MelonLoader/ExplorerMelonMod.cs @@ -6,7 +6,12 @@ using UnityExplorer; using UnityExplorer.Config; using UnityExplorer.Loader.ML; -[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.UNIVERSAL)] +#if CPP +[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.IL2CPP)] +#else +[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)] +#endif + [assembly: MelonInfo(typeof(ExplorerMelonMod), ExplorerCore.NAME, ExplorerCore.VERSION, ExplorerCore.AUTHOR)] [assembly: MelonGame(null, null)] [assembly: MelonColor(ConsoleColor.DarkCyan)] diff --git a/src/UnityExplorer.csproj b/src/UnityExplorer.csproj index 2a9c6ba..ba76022 100644 --- a/src/UnityExplorer.csproj +++ b/src/UnityExplorer.csproj @@ -175,13 +175,13 @@ False - packages\UniverseLib.1.2.1\lib\net35\UniverseLib.Mono.dll + packages\UniverseLib.1.2.2\lib\net35\UniverseLib.Mono.dll - packages\UniverseLib.1.2.1\lib\net472\UniverseLib.IL2CPP.dll + packages\UniverseLib.1.2.2\lib\net472\UniverseLib.IL2CPP.dll packages\Il2CppAssemblyUnhollower.BaseLib.0.4.22\lib\net472\UnhollowerBaseLib.dll diff --git a/src/packages.config b/src/packages.config index 17cad47..339ea40 100644 --- a/src/packages.config +++ b/src/packages.config @@ -6,6 +6,6 @@ - + \ No newline at end of file