Update
This commit is contained in:
ALEXTANG
2022-08-29 15:39:31 +08:00
parent baa26dba51
commit 8e563e4877
2 changed files with 4 additions and 12 deletions

View File

@@ -11,10 +11,8 @@ namespace HybridCLR.Editor
[InitializeOnLoadMethod] [InitializeOnLoadMethod]
private static void Setup() private static void Setup()
{ {
/// //TODO
/// unity允许使用UNITY_IL2CPP_PATH环境变量指定il2cpp的位置因此我们不再直接修改安装位置的il2cpp return;
/// 而是在本地目录
///
var localIl2cppDir = LocalIl2CppDir; var localIl2cppDir = LocalIl2CppDir;
if (!Directory.Exists(localIl2cppDir)) if (!Directory.Exists(localIl2cppDir))
{ {

View File

@@ -4,9 +4,8 @@ namespace HybridCLR.Editor
{ {
public static partial class BuildConfig public static partial class BuildConfig
{ {
/// <summary> /// <summary>
/// 所有热更新dll列表。放到此列表中的dll在打包时OnFilterAssemblies回调中被过滤 /// 所有热更新dll列表。放到此列表中的dll在构建AB的插入管线执行
/// </summary> /// </summary>
public static List<string> HotUpdateAssemblies { get; } = new List<string> public static List<string> HotUpdateAssemblies { get; } = new List<string>
{ {
@@ -17,12 +16,7 @@ namespace HybridCLR.Editor
{ {
"mscorlib.dll", "mscorlib.dll",
"System.dll", "System.dll",
"System.Core.dll", // 如果使用了Linq需要这个 "System.Core.dll",
//
// 注意修改这个列表请同步修改HotFix2模块中App.cs文件中的 LoadMetadataForAOTAssembly函数中aotDllList列表。
// 两者需要完全一致
//
}; };
} }
} }