summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@fb.com>2022-09-13 20:48:33 -0700
committerFredia Huya-Kouadio <fhuya@fb.com>2022-09-13 20:48:33 -0700
commit9d5e48f873ba55b6b7eddb57e754bea96149ab4a (patch)
treefb81c5a0656b15b2814596d1b9454f82de49bedb /platform/macos
parent2d9583fa3bf2426dabbdd9e9d9b8fd9725b9436c (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.cpp2
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();