[Windows] Fix OS.open_dynamic_library

This commit is contained in:
bruvzg 2024-08-28 20:12:09 +03:00
parent f648de1a83
commit d528f28275
2 changed files with 6 additions and 6 deletions

View file

@ -260,7 +260,7 @@ bool get_dotnet_self_registered_dir(String &r_dotnet_root) {
return false;
}
r_dotnet_root = String::utf16((const char16_t *)buffer.ptr());
r_dotnet_root = String::utf16((const char16_t *)buffer.ptr()).replace("\\", "/");
RegCloseKey(hkey);
return true;
#else