Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Fix OS.open_dynamic_library #96235

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Aug 28, 2024

Fixes incorrect rebase of #91902 after #96192 (dll directory was used instead of name).

Fixed #96231

@@ -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("\\", "/");
Copy link
Member Author

@bruvzg bruvzg Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: this change is not necessary (everything will work without it), but makes path cleaner (had mixed \ and /).

@akien-mga akien-mga merged commit 40b378e into godotengine:master Aug 28, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga changed the title [Windows] Fix OS.open_dynamic_library [Windows] Fix OS.open_dynamic_library Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.4.dev: .NET SDK detection is broken
2 participants