소스 검색

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

(cherry picked from commit d534c67d91b0e4c439bace65a1b51c22a194d07f)
Rémi Verschelde 1 년 전
부모
커밋
7c502d449a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      editor/export/editor_export.cpp

+ 4 - 0
editor/export/editor_export.cpp

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