Browse Source

Linux: Handle export preset forward compat with 4.3+ platform name

Rémi Verschelde 1 year ago
parent
commit
d534c67d91
1 changed files with 4 additions and 0 deletions
  1. 4 0
      editor/export/editor_export.cpp

+ 4 - 0
editor/export/editor_export.cpp

@@ -210,6 +210,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<EditorExportPreset> preset;