mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Fix platform checker placement
This commit is contained in:
1 parent
bedfa04500
commit
bccec8940e
1 file changed
+2
-2
@@ -41,6 +41,8 @@ namespace BepInEx.Preloader.Unity
|
||||
{
|
||||
var bepinPath = Utility.ParentDirectory(Path.GetFullPath(EnvVars.DOORSTOP_INVOKE_DLL_PATH), 2);
|
||||
|
||||
PlatformUtils.SetPlatform();
|
||||
|
||||
Paths.SetExecutablePath(EnvVars.DOORSTOP_MANAGED_FOLDER_DIR, bepinPath,
|
||||
EnvVars.DOORSTOP_MANAGED_FOLDER_DIR);
|
||||
AppDomain.CurrentDomain.AssemblyResolve += LocalResolve;
|
||||
@@ -53,8 +55,6 @@ namespace BepInEx.Preloader.Unity
|
||||
|
||||
private static void PreloaderMain()
|
||||
{
|
||||
PlatformUtils.SetPlatform();
|
||||
|
||||
if (UnityPreloader.ConfigApplyRuntimePatches.Value)
|
||||
{
|
||||
XTermFix.Apply();
|
||||
|
||||
Reference in new issue
Block a user