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

(cherry picked from commit d534c67d91)
This commit is contained in:
Rémi Verschelde 2024-03-01 15:50:46 +01:00
parent 13b0956538
commit 7c502d449a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 4 additions and 0 deletions

View File

@ -227,6 +227,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;