aboutsummaryrefslogtreecommitdiff
path: root/platform/uwp/export/export.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam2018-05-09 01:16:05 +0200
committerHein-Pieter van Braam2018-05-13 21:58:37 +0200
commit41bb32196282c2e4f99ee1ed896c5f963c5bbe06 (patch)
treeafa34b654cb7be86445d5515005e15511055806b /platform/uwp/export/export.cpp
parent0c030d6e0850e8ee185ec57b7e24e3552678c9d2 (diff)
downloadgodot-41bb32196282c2e4f99ee1ed896c5f963c5bbe06.tar.gz
godot-41bb32196282c2e4f99ee1ed896c5f963c5bbe06.tar.zst
godot-41bb32196282c2e4f99ee1ed896c5f963c5bbe06.zip
For uwp the ARM architecture needs to be in lower case
(cherry picked from commit 07f590046ad1ac96098989f8c266bfa0cc414f18)
Diffstat (limited to '')
-rw-r--r--platform/uwp/export/export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index 7d7bee922..52bb1e7d1 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -769,7 +769,7 @@ class EditorExportUWP : public EditorExportPlatform {
result = result.replace("$version_string$", version);
Platform arch = (Platform)(int)p_preset->get("architecture/target");
- String architecture = arch == ARM ? "ARM" : arch == X86 ? "x86" : "x64";
+ String architecture = arch == ARM ? "arm" : arch == X86 ? "x86" : "x64";
result = result.replace("$architecture$", architecture);
result = result.replace("$display_name$", String(p_preset->get("package/display_name")).empty() ? (String)ProjectSettings::get_singleton()->get("application/config/name") : String(p_preset->get("package/display_name")));
@@ -1038,7 +1038,7 @@ public:
}
virtual void get_export_options(List<ExportOption> *r_options) {
- r_options->push_back(ExportOption(PropertyInfo(Variant::INT, "architecture/target", PROPERTY_HINT_ENUM, "ARM,x86,x64"), 1));
+ r_options->push_back(ExportOption(PropertyInfo(Variant::INT, "architecture/target", PROPERTY_HINT_ENUM, "arm,x86,x64"), 1));
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "command_line/extra_args"), ""));