1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Add GDNative Framework loading and export support.

This commit is contained in:
bruvzg
2021-03-10 10:32:05 +02:00
parent 6aa8f7d85b
commit 53f05c9167
4 changed files with 71 additions and 9 deletions

View File

@@ -139,7 +139,7 @@ void GDNativeLibraryEditor::_on_item_button(Object *item, int column, int id) {
if (id == BUTTON_SELECT_DEPENDENCES) {
mode = EditorFileDialog::MODE_OPEN_FILES;
} else if (treeItem->get_text(0) == "iOS") {
} else if (treeItem->get_text(0) == "iOS" || treeItem->get_text(0) == "macOS") {
mode = EditorFileDialog::MODE_OPEN_ANY;
}
@@ -286,10 +286,9 @@ GDNativeLibraryEditor::GDNativeLibraryEditor() {
platforms["X11"] = platform_linux;
NativePlatformConfig platform_osx;
platform_osx.name = "Mac OSX";
platform_osx.name = "macOS";
platform_osx.entries.push_back("64");
platform_osx.entries.push_back("32");
platform_osx.library_extension = "*.dylib";
platform_osx.library_extension = "*.framework; Framework, *.dylib; Dynamic Library";
platforms["OSX"] = platform_osx;
NativePlatformConfig platform_haiku;