You've already forked godot
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user