소스 검색

[Windows export] Use project version as fallback.

Pāvels Nadtočajevs 2 달 전
부모
커밋
4a08cdcff0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      platform/windows/export/template_modifier.cpp

+ 2 - 2
platform/windows/export/template_modifier.cpp

@@ -533,8 +533,8 @@ Error TemplateModifier::_truncate(const String &p_path, uint32_t p_size) const {
 }
 
 HashMap<String, String> TemplateModifier::_get_strings(const Ref<EditorExportPreset> &p_preset) const {
-	String file_version = p_preset->get("application/file_version");
-	String product_version = p_preset->get("application/product_version");
+	String file_version = p_preset->get_version("application/file_version", true);
+	String product_version = p_preset->get_version("application/product_version", true);
 	String company_name = p_preset->get("application/company_name");
 	String product_name = p_preset->get("application/product_name");
 	String file_description = p_preset->get("application/file_description");