diff --git a/BSIPA.sln.DotSettings b/BSIPA.sln.DotSettings index 0c0f1d5a..af08d888 100644 --- a/BSIPA.sln.DotSettings +++ b/BSIPA.sln.DotSettings @@ -9,8 +9,13 @@ <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb"><ExtraRule Prefix="" Suffix="" Style="AaBb_AaBb" /></Policy> <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb"><ExtraRule Prefix="" Suffix="" Style="aaBb" /></Policy> + <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /> + <Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /> <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb"><ExtraRule Prefix="" Suffix="" Style="aaBb_aaBb" /></Policy> <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb"><ExtraRule Prefix="" Suffix="" Style="aaBb_aaBb" /></Policy> + True + True + True True True True diff --git a/IPA.Injector/Injector.cs b/IPA.Injector/Injector.cs index dd218caa..99f4f33e 100644 --- a/IPA.Injector/Injector.cs +++ b/IPA.Injector/Injector.cs @@ -35,6 +35,8 @@ namespace IPA.Injector SetupLibraryLoading(); + log.Debug("Initializing logger"); + SelfConfig.Set(); loader.Debug("Prepping bootstrapper"); @@ -53,8 +55,8 @@ namespace IPA.Injector private static void SetupLibraryLoading() { - if (_loadingDone) return; - _loadingDone = true; + if (loadingDone) return; + loadingDone = true; AppDomain.CurrentDomain.AssemblyResolve += LibLoader.AssemblyLibLoader; } @@ -174,12 +176,12 @@ namespace IPA.Injector #endregion Virtualize Assembly-CSharp.dll } - private static bool _bootstrapped; + private static bool bootstrapped; private static void CreateBootstrapper() { - if (_bootstrapped) return; - _bootstrapped = true; + if (bootstrapped) return; + bootstrapped = true; Application.logMessageReceived += delegate (string condition, string stackTrace, LogType type) { @@ -195,7 +197,7 @@ namespace IPA.Injector bootstrapper.Destroyed += Bootstrapper_Destroyed; } - private static bool _loadingDone; + private static bool loadingDone; private static void Bootstrapper_Destroyed() { diff --git a/IPA.Loader/Updating/SelfPlugin.cs b/IPA.Loader/Updating/SelfPlugin.cs index 78c2b35e..52074ee5 100644 --- a/IPA.Loader/Updating/SelfPlugin.cs +++ b/IPA.Loader/Updating/SelfPlugin.cs @@ -4,7 +4,7 @@ using UnityEngine.SceneManagement; namespace IPA.Updating { - [Obsolete("Only used for old updating system, replaced with a PluginMeta for teh embedded manifest")] + [Obsolete("Only used for old updating system, replaced with a PluginMeta for the embedded manifest")] internal class SelfPlugin : IBeatSaberPlugin { public static SelfPlugin Instance { get; set; } = new SelfPlugin(); diff --git a/Refs/UnityEngine.CoreModule.dll b/Refs/UnityEngine.CoreModule.dll index a802a5c6..0913c47b 100644 Binary files a/Refs/UnityEngine.CoreModule.dll and b/Refs/UnityEngine.CoreModule.dll differ