Compare commits

...

15 Commits

Author SHA1 Message Date
walon a5238bcd29 [merge] 从main分支合并assembly resolver改动,修复计算桥接函数使用editor dll造成的签名错误的问题 2023-01-05 11:28:31 +08:00
walon 12dd5d8685 [fix] 修复Installer不同的Unity年度版本仍然读取相同的hybridclr及il2cpp_plus版本号配置,导致切换Unity版本时有可能发生默认显示的版本号错误的问题 2022-12-29 20:45:29 +08:00
walon feb8ed3206 [opt] installer安装成功后会记录 安装的版本,并且显示。 2022-12-21 12:46:15 +08:00
walon 6939d16b6c [refactor] 重构Installer,不再支持从其他版本安装HybridCLR,极大简化了代码。 2022-12-21 12:43:12 +08:00
walon ca143691aa [change] 移除HybridCLR.Runtime中DHE相关代码 2022-12-21 12:19:24 +08:00
walon f62a2fedb0 [change] 移除DHE相关代码 2022-12-21 12:18:47 +08:00
walon 2effa79f6d [change] 禁用HybridCLR时不再复制裁剪后的AOT dll
[new] SettingsUtil.Enable 支持setter,允许代码中修改开启状态。
2022-12-21 12:17:51 +08:00
walon 1a23268b03 [fix] 修复StructLayout中只指定LayoutKind参数时,struct的ClassLayout为空,计算type size和aligment错误的bug 2022-12-14 10:44:49 +08:00
walon e5c3bfa184 [fix] 修复 ReversePInvokeWrap生成代码的bug 2022-12-12 21:37:29 +08:00
walon 9bb1b6054e [fix] 修复生成N2M桥接函数Stub时,失误将末尾项的sinature填成""的bug,正确应该是nullptr 2022-12-12 12:02:42 +08:00
walon ef0db32fc1 [fix] 修复生成桥接函数时不必要地多次调用 CleanIl2CppBuildCache,并有可能因并发清除而抛出异常的问题 2022-12-09 18:21:08 +08:00
walon f0230149ce [fix] 修复macOS下项目Unity版本与HybridCLR要求版本不兼容时尝试扫描兼容版本的目录层级错误的bug 2022-12-09 18:17:42 +08:00
walon 0401d638a1 [fix] 修复installer中未填hybridclr及il2cpp_plus版本号时hybridclr取main分支最新版本,而il2cpp_plus取1.0分支版本,导致版本不匹配而崩溃的bug 2022-12-06 14:32:54 +08:00
walon 4ea1798700 [change] il2cpp_plus启动新的分支名 2019-main、2020-main、2021-main,相应调整代码
[opt] 优化installer的显示
2022-12-06 14:19:17 +08:00
walon eee3dbaa69 [fix] 修复??=语法在2019下编译出错的bug 2022-12-01 08:50:40 +08:00
3 changed files with 7 additions and 7 deletions

View File

@ -127,14 +127,14 @@ namespace HybridCLR.Editor.Installer
public string HybridCLRRepoInstalledVersion
{
get { return EditorPrefs.GetString("hybridclr_repo"); }
set { EditorPrefs.SetString("hybridclr_repo", value); }
get { return EditorPrefs.GetString($"hybridclr_repo#{MajorVersion}"); }
set { EditorPrefs.SetString($"hybridclr_repo#{MajorVersion}", value); }
}
public string Il2CppRepoInstalledVersion
{
get { return EditorPrefs.GetString("il2cpp_plus_repo"); }
set { EditorPrefs.SetString("il2cpp_plus_repo", value); }
get { return EditorPrefs.GetString($"il2cpp_plus_repo#{MajorVersion}"); }
set { EditorPrefs.SetString($"il2cpp_plus_repo#{MajorVersion}", value); }
}

View File

@ -19,12 +19,12 @@ namespace HybridCLR.Editor.Installer
_hybridclrVersion = _controller.HybridCLRRepoInstalledVersion;
if (string.IsNullOrWhiteSpace(_hybridclrVersion))
{
_hybridclrVersion = "main";
_hybridclrVersion = "1.0";
}
_il2cppPlusVersion = _controller.Il2CppRepoInstalledVersion;
if (string.IsNullOrWhiteSpace(_il2cppPlusVersion))
{
_il2cppPlusVersion = $"{_controller.MajorVersion}-main";
_il2cppPlusVersion = $"{_controller.MajorVersion}-1.0";
}
}

View File

@ -1,6 +1,6 @@
{
"name": "com.focus-creative-games.hybridclr_unity",
"version": "1.1.15",
"version": "1.0.12",
"displayName": "HybridCLR",
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
"category": "Runtime",