From c28da898797d4ee6d07e7e15865f7567d8813057 Mon Sep 17 00:00:00 2001 From: Alexander Holland Date: Sat, 16 Feb 2019 21:58:46 +0100 Subject: [PATCH] Fix Android jarsigner error duplicate file Exports same file only once. --- editor/editor_export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 4e8b2c82f1c..39e6df44502 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -858,7 +858,7 @@ Error EditorExportPlatform::export_project_files(const Ref & Vector 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 array = FileAccess::get_file_as_array(splash); p_func(p_udata, splash, array, idx, total); }