Browse Source

Fixed an issue in UWP export caused by duplicate entry for extensions in content types file.

unknown 4 years ago
parent
commit
9cb46ed4e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/uwp/export/export.cpp

+ 1 - 1
platform/uwp/export/export.cpp

@@ -249,7 +249,7 @@ void AppxPackager::make_content_types(const String &p_path) {
 	Map<String, String> types;
 	Map<String, String> types;
 
 
 	for (int i = 0; i < file_metadata.size(); i++) {
 	for (int i = 0; i < file_metadata.size(); i++) {
-		String ext = file_metadata[i].name.get_extension();
+		String ext = file_metadata[i].name.get_extension().to_lower();
 
 
 		if (types.has(ext)) {
 		if (types.has(ext)) {
 			continue;
 			continue;