diff --git a/editor/export/editor_export.cpp b/editor/export/editor_export.cpp index 0c1cce9f3ed..1be9fe5740c 100644 --- a/editor/export/editor_export.cpp +++ b/editor/export/editor_export.cpp @@ -219,6 +219,12 @@ void EditorExport::load_config() { } String platform = config->get_value(section, "platform"); +#ifndef DISABLE_DEPRECATED + // Compatibility with Linux platform before 4.3. + if (platform == "Linux/X11") { + platform = "Linux"; + } +#endif Ref preset;