mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Change default entrypoint DLL to UnityEngine.CoreModule in v2018 builds
This commit is contained in:
1 parent
4935a74564
commit
fa8708f065
1 file changed
+7
-2
@@ -323,7 +323,12 @@ namespace BepInEx.Preloader
|
||||
"Preloader.Entrypoint",
|
||||
"Assembly",
|
||||
"The local filename of the assembly to target.",
|
||||
"UnityEngine.dll");
|
||||
#if UNITY_2018
|
||||
"UnityEngine.CoreModule.dll"
|
||||
#else
|
||||
"UnityEngine.dll"
|
||||
#endif
|
||||
);
|
||||
|
||||
private static readonly ConfigWrapper<string> ConfigEntrypointType = ConfigFile.CoreConfig.Wrap(
|
||||
"Preloader.Entrypoint",
|
||||
@@ -361,6 +366,6 @@ namespace BepInEx.Preloader
|
||||
"If true, console is set to the Shift-JIS encoding, otherwise UTF-8 encoding.",
|
||||
false);
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user