Merge pull request #63614 from akien-mga/export-pc-template-path

Export: Fix template path for PC (Windows, Linux)
This commit is contained in:
Rémi Verschelde 2022-07-29 12:25:49 +02:00 committed by GitHub
commit 3f2be350d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ Error EditorExportPlatformPC::prepare_template(const Ref<EditorExportPreset> &p_
template_path = template_path.strip_edges(); template_path = template_path.strip_edges();
if (template_path.is_empty()) { if (template_path.is_empty()) {
template_path = find_export_template(get_template_file_name(p_debug ? "debug" : "release", p_preset->get("binary_format/64_bits") ? "64" : "32")); template_path = find_export_template(get_template_file_name(p_debug ? "debug" : "release", p_preset->get("binary_format/64_bits") ? "x86_64" : "x86_32"));
} }
if (!template_path.is_empty() && !FileAccess::exists(template_path)) { if (!template_path.is_empty() && !FileAccess::exists(template_path)) {