From 8964c48ba06868fa30212870cf8868036379ffc1 Mon Sep 17 00:00:00 2001 From: Sinai Date: Fri, 26 Mar 2021 06:38:59 +1100 Subject: [PATCH] Move melon attributes to ExplorerMelonMod.cs --- src/Loader/ExplorerMelonMod.cs | 4 ++++ src/Properties/AssemblyInfo.cs | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Loader/ExplorerMelonMod.cs b/src/Loader/ExplorerMelonMod.cs index d859cf3..f2c7bd3 100644 --- a/src/Loader/ExplorerMelonMod.cs +++ b/src/Loader/ExplorerMelonMod.cs @@ -2,6 +2,10 @@ using System; using System.IO; using MelonLoader; +using UnityExplorer; + +[assembly: MelonInfo(typeof(ExplorerMelonMod), ExplorerCore.NAME, ExplorerCore.VERSION, ExplorerCore.AUTHOR)] +[assembly: MelonGame(null, null)] namespace UnityExplorer { diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs index ed488b3..b4954af 100644 --- a/src/Properties/AssemblyInfo.cs +++ b/src/Properties/AssemblyInfo.cs @@ -2,13 +2,6 @@ using System.Runtime.InteropServices; using UnityExplorer; -#if ML -using MelonLoader; - -[assembly: MelonInfo(typeof(ExplorerMelonMod), "UnityExplorer", ExplorerCore.VERSION, ExplorerCore.AUTHOR)] -[assembly: MelonGame(null, null)] -#endif - // 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.