Linux: Handle export preset compat with 'Linux/X11' platform name
Fixes #89012.
This commit is contained in:
@ -219,6 +219,12 @@ void EditorExport::load_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String platform = config->get_value(section, "platform");
|
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;
|
Ref<EditorExportPreset> preset;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user