Move RuntimeProvider.Init to after config is loaded

This commit is contained in:
Sinai 2021-03-24 17:13:26 +11:00
parent 5e326916a2
commit 594abc47f8

View File

@ -17,7 +17,7 @@ namespace UnityExplorer
public class ExplorerCore public class ExplorerCore
{ {
public const string NAME = "UnityExplorer"; public const string NAME = "UnityExplorer";
public const string VERSION = "3.2.7"; public const string VERSION = "3.2.8";
public const string AUTHOR = "Sinai"; public const string AUTHOR = "Sinai";
public const string GUID = "com.sinai.unityexplorer"; public const string GUID = "com.sinai.unityexplorer";
@ -44,13 +44,13 @@ namespace UnityExplorer
Instance = this; Instance = this;
RuntimeProvider.Init();
if (!Directory.Exists(EXPLORER_FOLDER)) if (!Directory.Exists(EXPLORER_FOLDER))
Directory.CreateDirectory(EXPLORER_FOLDER); Directory.CreateDirectory(EXPLORER_FOLDER);
ExplorerConfig.OnLoad(); ExplorerConfig.OnLoad();
RuntimeProvider.Init();
InputManager.Init(); InputManager.Init();
CursorUnlocker.Init(); CursorUnlocker.Init();