HotUpdateAssemblies 剔除.dll后缀

HotUpdateAssemblies 剔除.dll后缀
This commit is contained in:
Alex-Rachel
2025-03-18 13:46:32 +08:00
parent 58cecd2071
commit a4221e36f8
2 changed files with 9 additions and 3 deletions

View File

@@ -45,6 +45,12 @@ namespace TEngine.Editor
if (isHotChanged) if (isHotChanged)
{ {
HybridCLRSettings.Instance.hotUpdateAssemblies = updateSetting.HotUpdateAssemblies.ToArray(); HybridCLRSettings.Instance.hotUpdateAssemblies = updateSetting.HotUpdateAssemblies.ToArray();
for (int i = 0; i < HotUpdateAssemblies.Count; i++)
{
var assemblyName = HotUpdateAssemblies[i];
string assemblyNameWithoutExtension = assemblyName.Substring(0, assemblyName.LastIndexOf('.'));
HybridCLRSettings.Instance.hotUpdateAssemblies[i] = assemblyNameWithoutExtension;
}
Debug.Log("HotUpdateAssemblies changed"); Debug.Log("HotUpdateAssemblies changed");
} }
if (isAOTChanged) if (isAOTChanged)

View File

@@ -12,14 +12,14 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: e189374413a3f00468e49d51d8b27a09, type: 3} m_Script: {fileID: 11500000, guid: e189374413a3f00468e49d51d8b27a09, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
enable: 0 enable: 1
useGlobalIl2cpp: 0 useGlobalIl2cpp: 0
hybridclrRepoURL: https://gitee.com/focus-creative-games/hybridclr hybridclrRepoURL: https://gitee.com/focus-creative-games/hybridclr
il2cppPlusRepoURL: https://gitee.com/focus-creative-games/il2cpp_plus il2cppPlusRepoURL: https://gitee.com/focus-creative-games/il2cpp_plus
hotUpdateAssemblyDefinitions: [] hotUpdateAssemblyDefinitions: []
hotUpdateAssemblies: hotUpdateAssemblies:
- GameProto.dll - GameProto
- GameLogic.dll - GameLogic
preserveHotUpdateAssemblies: [] preserveHotUpdateAssemblies: []
hotUpdateDllCompileOutputRootDir: HybridCLRData/HotUpdateDlls hotUpdateDllCompileOutputRootDir: HybridCLRData/HotUpdateDlls
externalHotUpdateAssembliyDirs: [] externalHotUpdateAssembliyDirs: []