From ace828423133591d3e924d61972114f9f5eb7195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 1 Mar 2024 15:12:54 +0100 Subject: [PATCH] Linux: Handle export preset compat with 'Linux/X11' platform name Fixes #89012. --- editor/export/editor_export.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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;