Merge pull request #42644 from Anutrix/uwp-duplicate-entry-fix
Fixed an issue in UWP export caused by duplicate entry for extensions in content types file.
This commit is contained in:
commit
28e45ec427
|
@ -249,7 +249,7 @@ void AppxPackager::make_content_types(const String &p_path) {
|
|||
Map<String, String> types;
|
||||
|
||||
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)) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue