Linux: Handle export preset compat with 'Linux/X11' platform name
Fixes #89012.
This commit is contained in:
parent
8e951fd0a9
commit
ace8284231
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue