[GDExtension] Improve macOS library loading/export.

This commit is contained in:
bruvzg 2024-11-04 09:28:14 +02:00
parent 1bffd6c73b
commit 2d66988f99
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
3 changed files with 52 additions and 8 deletions

View file

@ -65,6 +65,11 @@ void EditorExportPlatformMacOS::get_preset_features(const Ref<EditorExportPreset
} else {
ERR_PRINT("Invalid architecture");
}
if (architecture == "universal") {
r_features->push_back("x86_64");
r_features->push_back("arm64");
}
}
String EditorExportPlatformMacOS::get_export_option_warning(const EditorExportPreset *p_preset, const StringName &p_name) const {