summaryrefslogtreecommitdiff
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-21 20:34:58 +0100
committerGitHub <noreply@github.com>2022-03-21 20:34:58 +0100
commit422a45a69e0c6f63bbb01fbe62931289b7c4651c (patch)
treea83a1f8334af52f9f88538fa52d8e01028c77f25 /editor/editor_export.cpp
parent5a28b1ae5118d05b5d22fe2f6f1109f839058c9d (diff)
parentf301451fa3304ad2072898838ea9801b044ffbd9 (diff)
Merge pull request #59371 from aaronfranke/export-platform-ext
Move extension logic to EditorExportPlatformLinuxBSD
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index d36f6b7e73..afb5bd9d4d 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -1819,23 +1819,6 @@ bool EditorExportPlatformPC::can_export(const Ref<EditorExportPreset> &p_preset,
return valid;
}
-List<String> EditorExportPlatformPC::get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const {
- List<String> list;
- for (const KeyValue<String, String> &E : extensions) {
- if (p_preset->get(E.key)) {
- list.push_back(extensions[E.key]);
- return list;
- }
- }
-
- if (extensions.has("default")) {
- list.push_back(extensions["default"]);
- return list;
- }
-
- return list;
-}
-
Error EditorExportPlatformPC::export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags) {
ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags);
@@ -1927,10 +1910,6 @@ Error EditorExportPlatformPC::sign_shared_object(const Ref<EditorExportPreset> &
return OK;
}
-void EditorExportPlatformPC::set_extension(const String &p_extension, const String &p_feature_key) {
- extensions[p_feature_key] = p_extension;
-}
-
void EditorExportPlatformPC::set_name(const String &p_name) {
name = p_name;
}