Linux: Handle export preset compat with 'Linux/X11' platform name

Fixes #89012.
This commit is contained in:
Rémi Verschelde 2024-03-01 15:12:54 +01:00
parent 8e951fd0a9
commit ace8284231
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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<EditorExportPreset> preset;