Merge pull request #89047 from akien-mga/4.2-linux-export-preset-name-compat

[4.2] Linux: Handle export preset forward compat with 4.3+ platform name
This commit is contained in:
Rémi Verschelde 2024-03-04 14:11:12 +01:00 committed by GitHub
commit 6d96d87f23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -210,6 +210,10 @@ void EditorExport::load_config() {
} }
String platform = config->get_value(section, "platform"); String platform = config->get_value(section, "platform");
// Forward compatibility with Linux platform after 4.3.
if (platform == "Linux") {
platform = "Linux/X11";
}
Ref<EditorExportPreset> preset; Ref<EditorExportPreset> preset;