diff options
author | Fredia Huya-Kouadio <fhuya@fb.com> | 2022-09-13 20:48:33 -0700 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuya@fb.com> | 2022-09-13 20:48:33 -0700 |
commit | 9d5e48f873ba55b6b7eddb57e754bea96149ab4a (patch) | |
tree | fb81c5a0656b15b2814596d1b9454f82de49bedb /platform/macos | |
parent | 2d9583fa3bf2426dabbdd9e9d9b8fd9725b9436c (diff) |
Disable menus and functionality that are not relevant on the Android Editor port
Diffstat (limited to 'platform/macos')
-rw-r--r-- | platform/macos/export/export.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/macos/export/export.cpp b/platform/macos/export/export.cpp index f219616df4..5f9cf22ccf 100644 --- a/platform/macos/export/export.cpp +++ b/platform/macos/export/export.cpp @@ -33,12 +33,14 @@ #include "export_plugin.h" void register_macos_exporter() { +#ifndef ANDROID_ENABLED EDITOR_DEF("export/macos/rcodesign", ""); #ifdef WINDOWS_ENABLED EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/macos/rcodesign", PROPERTY_HINT_GLOBAL_FILE, "*.exe")); #else EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/macos/rcodesign", PROPERTY_HINT_GLOBAL_FILE)); #endif +#endif Ref<EditorExportPlatformMacOS> platform; platform.instantiate(); |