Fixed wrong Nuake.Net path

This commit is contained in:
Antoine Pilote
2024-04-11 19:49:23 -04:00
parent f4d71b9977
commit f4493886f0
4 changed files with 1360 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ namespace Nuake
// Check if we have an .sln in the project.
const std::string absoluteAssemblyPath = FileSystem::Root + m_NetDirectory + "/" + m_EngineAssemblyName;
if (!FileSystem::FileExists(absoluteAssemblyPath))
if (!FileSystem::FileExists(m_EngineAssemblyName, true))
{
m_IsInitialized = false;
return;
@@ -79,7 +79,7 @@ namespace Nuake
m_LoadContext = m_HostInstance->CreateAssemblyLoadContext(m_ContextName);
// Load Nuake assembly DLL
m_NuakeAssembly = m_LoadContext.LoadAssembly(absoluteAssemblyPath);
m_NuakeAssembly = m_LoadContext.LoadAssembly(m_EngineAssemblyName);
// Upload internal calls for each module
// --------------------------------------------------