Skip to content

Commit

Permalink
Linux: Handle export preset forward compat with 4.3+ platform name
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Mar 1, 2024
1 parent 2fdeeea commit d534c67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions editor/export/editor_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d534c67

Please sign in to comment.