mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Move SetPlatform to correct place
This commit is contained in:
1 parent
bccec8940e
commit
c5b4c410dd
1 file changed
+2
-2
@@ -39,9 +39,9 @@ namespace BepInEx.Preloader.Unity
|
||||
|
||||
public static void PreloaderPreMain()
|
||||
{
|
||||
var bepinPath = Utility.ParentDirectory(Path.GetFullPath(EnvVars.DOORSTOP_INVOKE_DLL_PATH), 2);
|
||||
|
||||
PlatformUtils.SetPlatform();
|
||||
|
||||
var bepinPath = Utility.ParentDirectory(Path.GetFullPath(EnvVars.DOORSTOP_INVOKE_DLL_PATH), 2);
|
||||
|
||||
Paths.SetExecutablePath(EnvVars.DOORSTOP_MANAGED_FOLDER_DIR, bepinPath,
|
||||
EnvVars.DOORSTOP_MANAGED_FOLDER_DIR);
|
||||
|
||||
Reference in new issue
Block a user