浏览代码

Merge pull request #2784 from masoudbh3/resigning-android-template

Skip META-INF from Android Template
Juan Linietsky 9 年之前
父节点
当前提交
4fdb4452b8
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      platform/android/export/export.cpp

+ 4 - 0
platform/android/export/export.cpp

@@ -1123,6 +1123,10 @@ Error EditorExportPlatformAndroid::export_project(const String& p_path, bool p_d
 		if (file=="lib/armeabi/libgodot_android.so" && !export_arm) {
 			skip=true;
 		}
+		
+		if (file.begins_with("META-INF") && _signed) {
+			skip=true;
+		}
 
 		print_line("ADDING: "+file);