summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-08 15:46:35 +0200
committerGitHub <noreply@github.com>2020-10-08 15:46:35 +0200
commit28e45ec427b40d55a2c023084eae68b4721f4986 (patch)
tree0dbbd1609933c76240e0bd8185fdfa37f51d46af
parent53a3dfbf6b78cc3d0662abec4efa4bbeae4939f6 (diff)
parent9cb46ed4e7e3a25132fff3d7c80be4e47cedb22f (diff)
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.
-rw-r--r--platform/uwp/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index 5679ec3eac..219174b509 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -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;