mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
BepInEx.IL2CPP: Move runtime info logging to preloader
This commit is contained in:
1 parent
5afef9a1db
commit
0da14c507c
2 files changed
+3
-2
No files matched your search
@@ -58,8 +58,6 @@ public class IL2CPPChainloader : BaseChainloader<BasePlugin>
|
||||
|
||||
base.Initialize(gameExePath);
|
||||
Instance = this;
|
||||
Logger.Log(LogLevel.Info, $"Runtime version: {Environment.Version}");
|
||||
Logger.Log(LogLevel.Info, $"Runtime information: {RuntimeInformation.FrameworkDescription}");
|
||||
|
||||
ClassInjector.Detour = new UnhollowerDetourHandler();
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using BepInEx.Configuration;
|
||||
using BepInEx.Logging;
|
||||
using BepInEx.Preloader.Core;
|
||||
@@ -49,6 +50,8 @@ public static class Preloader
|
||||
}
|
||||
|
||||
ChainloaderLogHelper.PrintLogInfo(Log);
|
||||
Logger.Log(LogLevel.Info, $"Runtime version: {Environment.Version}");
|
||||
Logger.Log(LogLevel.Info, $"Runtime information: {RuntimeInformation.FrameworkDescription}");
|
||||
|
||||
Log.Log(LogLevel.Debug, $"Game executable path: {Paths.ExecutablePath}");
|
||||
Log.Log(LogLevel.Debug, $"Unhollowed assembly directory: {Il2CppInteropManager.IL2CPPInteropAssemblyPath}");
|
||||
|
||||
Reference in new issue
Block a user