summaryrefslogtreecommitdiffstats
path: root/platform/windows/export/export_plugin.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-03-22 09:40:34 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-03-22 10:16:03 -0500
commit13392a96e9471ba54a6af84140aaa14817fb6a29 (patch)
treef071ab6a6a9d085faa7ea3ec6a5af069af2307fb /platform/windows/export/export_plugin.cpp
parenta30d17fe23cab95716e4b1bff9dfac21b70b5481 (diff)
downloadredot-engine-13392a96e9471ba54a6af84140aaa14817fb6a29.tar.gz
Generate export template file names instead of having a fixed set
Diffstat (limited to 'platform/windows/export/export_plugin.cpp')
-rw-r--r--platform/windows/export/export_plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/windows/export/export_plugin.cpp b/platform/windows/export/export_plugin.cpp
index f20cff90c1..e627253739 100644
--- a/platform/windows/export/export_plugin.cpp
+++ b/platform/windows/export/export_plugin.cpp
@@ -86,6 +86,10 @@ Error EditorExportPlatformWindows::export_project(const Ref<EditorExportPreset>
return err;
}
+String EditorExportPlatformWindows::get_template_file_name(const String &p_target, const String &p_arch) const {
+ return "windows_" + p_arch + "_" + p_target + ".exe";
+}
+
List<String> EditorExportPlatformWindows::get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const {
List<String> list;
list.push_back("exe");