summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-09-14 07:32:47 +0200
committerGitHub <noreply@github.com>2022-09-14 07:32:47 +0200
commitb1139fffd40a257d084b959e78550f43667e9a9a (patch)
tree35566bc7518b09012b42e790b139dba37eeb711c /platform/macos
parentb1e54ef20b1f8bd6c89978b08ffd47d062554cd8 (diff)
parent9d5e48f873ba55b6b7eddb57e754bea96149ab4a (diff)
Merge pull request #65769 from m4gr3d/update_android_editor_menus_main
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();