ソースを参照

Fix Android Export jarsigner error with *.import whitelist

(cherry picked from commit 20bca313c0266d5d5508801f7b9b809fc26c2092)
Nathan Franke 4 年 前
コミット
84c04a8ee3
1 ファイル変更3 行追加0 行削除
  1. 3 0
      editor/editor_export.cpp

+ 3 - 0
editor/editor_export.cpp

@@ -713,6 +713,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);
+
 	Vector<Ref<EditorExportPlugin> > export_plugins = EditorExport::get_singleton()->get_export_plugins();
 	for (int i = 0; i < export_plugins.size(); i++) {