[fix] 修复2019 Mac Standalone 没有正确 PatchScriptingAssemblyList的bug
parent
ff0f225423
commit
188fdc9430
|
@ -191,17 +191,11 @@ namespace HybridCLR.Editor.Installer
|
||||||
|
|
||||||
private string GetUnityIl2CppDllInstallLocation()
|
private string GetUnityIl2CppDllInstallLocation()
|
||||||
{
|
{
|
||||||
string path1 = $"{SettingsUtil.LocalIl2CppDir}/build/deploy/net471/Unity.IL2CPP.dll";
|
#if UNITY_EDITOR_WIN
|
||||||
if (File.Exists(path1))
|
return $"{SettingsUtil.LocalIl2CppDir}/build/deploy/net471/Unity.IL2CPP.dll";
|
||||||
{
|
#else
|
||||||
return path1;
|
return $"{SettingsUtil.LocalIl2CppDir}/build/deploy/il2cppcore/Unity.IL2CPP.dll";
|
||||||
}
|
#endif
|
||||||
string path2 = $"{SettingsUtil.LocalIl2CppDir}/build/deploy/il2cppcore/Unity.IL2CPP.dll";
|
|
||||||
if (File.Exists(path2))
|
|
||||||
{
|
|
||||||
return path2;
|
|
||||||
}
|
|
||||||
throw new Exception($"Unity.IL2CPP.dll not found");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetUnityIl2CppDllModifiedPath(string curVersionStr)
|
private string GetUnityIl2CppDllModifiedPath(string curVersionStr)
|
||||||
|
|
Loading…
Reference in New Issue