Fixed hot reloading copying the wrong DLL

This commit is contained in:
Kah Wei 2022-09-15 09:21:51 +08:00
parent ad7df083bf
commit 79828740fd
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ namespace SHADE
if (BUILD_SUCCESS)
{
// Copy to built dll to the working directory and replace
std::filesystem::copy_file("./tmp/SHADE_Managed.dll", "SHADE_Managed.dll", std::filesystem::copy_options::overwrite_existing);
std::filesystem::copy_file("./tmp/SHADE_Scripting.dll", "SHADE_Scripting.dll", std::filesystem::copy_options::overwrite_existing);
oss << "[ScriptEngine] Successfully built Managed Script Assembly (" << MANAGED_SCRIPT_LIB_NAME << ")!";
SHLOG_INFO(oss.str());