summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/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/linuxbsd/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/linuxbsd/export/export_plugin.cpp')
-rw-r--r--platform/linuxbsd/export/export_plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linuxbsd/export/export_plugin.cpp b/platform/linuxbsd/export/export_plugin.cpp
index 08fc9c0452..24906fa3fb 100644
--- a/platform/linuxbsd/export/export_plugin.cpp
+++ b/platform/linuxbsd/export/export_plugin.cpp
@@ -77,6 +77,10 @@ void EditorExportPlatformLinuxBSD::set_extension(const String &p_extension, cons
extensions[p_feature_key] = p_extension;
}
+String EditorExportPlatformLinuxBSD::get_template_file_name(const String &p_target, const String &p_arch) const {
+ return "linux_x11_" + p_arch + "_" + p_target;
+}
+
List<String> EditorExportPlatformLinuxBSD::get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const {
List<String> list;
for (const KeyValue<String, String> &E : extensions) {