From 9d5e48f873ba55b6b7eddb57e754bea96149ab4a Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Tue, 13 Sep 2022 20:48:33 -0700 Subject: Disable menus and functionality that are not relevant on the Android Editor port --- platform/windows/export/export.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/windows/export') diff --git a/platform/windows/export/export.cpp b/platform/windows/export/export.cpp index 20320470b8..8f91756c02 100644 --- a/platform/windows/export/export.cpp +++ b/platform/windows/export/export.cpp @@ -34,6 +34,7 @@ #include "export_plugin.h" void register_windows_exporter() { +#ifndef ANDROID_ENABLED EDITOR_DEF("export/windows/rcedit", ""); EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/windows/rcedit", PROPERTY_HINT_GLOBAL_FILE, "*.exe")); #ifdef WINDOWS_ENABLED @@ -45,6 +46,7 @@ void register_windows_exporter() { // On non-Windows we need WINE to run rcedit EDITOR_DEF("export/windows/wine", ""); EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/windows/wine", PROPERTY_HINT_GLOBAL_FILE)); +#endif #endif Ref platform; -- cgit v1.2.3