浏览代码

Fix Android Export jarsigner error with *.import whitelist

Nathan Franke 4 年之前
父节点
当前提交
20bca313c0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      editor/editor_export.cpp

+ 3 - 0
editor/editor_export.cpp

@@ -737,6 +737,9 @@ Error EditorExportPlatform::export_project_files(const Ref<EditorExportPreset> &
 	_edit_filter_list(paths, p_preset->get_include_filter(), false);
 	_edit_filter_list(paths, p_preset->get_exclude_filter(), true);
 
+	// Ignore import files, since these are automatically added to the jar later with the resources
+	_edit_filter_list(paths, String("*.import"), true);
+
 	// Get encryption filters.
 	bool enc_pck = p_preset->get_enc_pck();
 	Vector<String> enc_in_filters;