From 7c502d449a854d94c56f11b0a5bb6473814ccf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 1 Mar 2024 15:50:46 +0100 Subject: [PATCH] Linux: Handle export preset forward compat with 4.3+ platform name (cherry picked from commit d534c67d91b0e4c439bace65a1b51c22a194d07f) --- editor/export/editor_export.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/export/editor_export.cpp b/editor/export/editor_export.cpp index 6c4fb480d70..f4591e908de 100644 --- a/editor/export/editor_export.cpp +++ b/editor/export/editor_export.cpp @@ -227,6 +227,10 @@ void EditorExport::load_config() { } String platform = config->get_value(section, "platform"); + // Forward compatibility with Linux platform after 4.3. + if (platform == "Linux") { + platform = "Linux/X11"; + } Ref preset;