Fix Android jarsigner error duplicate file

Exports same file only once.
This commit is contained in:
Alexander Holland 2019-02-16 21:58:46 +01:00
parent 1f9c54bd55
commit c28da89879

View file

@ -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);
}