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:
Rémi Verschelde 2020-10-08 15:46:35 +02:00 committed by GitHub
commit 28e45ec427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;