summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Holland <alexander.holland@live.de>2019-02-16 21:58:46 +0100
committerAlexander Holland <alexander.holland@live.de>2019-02-16 21:58:52 +0100
commitc28da898797d4ee6d07e7e15865f7567d8813057 (patch)
tree97e72e4972bf6687938b913c99113880c9fad3d5
parent1f9c54bd55a914c8126e4c9954ad648cdeddacb1 (diff)
Fix Android jarsigner error duplicate file
Exports same file only once.
-rw-r--r--editor/editor_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index 4e8b2c82f1..39e6df4450 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -858,7 +858,7 @@ Error EditorExportPlatform::export_project_files(const Ref<EditorExportPreset> &
Vector<uint8_t> array = FileAccess::get_file_as_array(icon);
p_func(p_udata, icon, array, idx, total);
}
- if (splash != String() && FileAccess::exists(splash)) {
+ if (splash != String() && FileAccess::exists(splash) && icon != splash) {
Vector<uint8_t> array = FileAccess::get_file_as_array(splash);
p_func(p_udata, splash, array, idx, total);
}