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

This commit is contained in:
Rémi Verschelde 2024-03-01 15:50:46 +01:00
parent 2fdeeead5b
commit d534c67d91
No known key found for this signature in database
GPG Key ID: C3336907360768E1
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");
// Forward compatibility with Linux platform after 4.3.
if (platform == "Linux") {
platform = "Linux/X11";
}
Ref<EditorExportPreset> preset;