Export: Rename 'Windows Universal' to 'UWP'

It's otherwise too easy to be confused between 'Windows Desktop' (Win32)
and 'Windows Universal' (UWP).
This commit is contained in:
Rémi Verschelde 2020-06-19 16:31:28 +02:00
parent 3eab3c10b5
commit 08ef0aab16
2 changed files with 3 additions and 3 deletions

View File

@ -283,7 +283,7 @@ GDNativeLibraryEditor::GDNativeLibraryEditor() {
platforms["Haiku"] = platform_haiku; platforms["Haiku"] = platform_haiku;
NativePlatformConfig platform_uwp; NativePlatformConfig platform_uwp;
platform_uwp.name = "Windows Universal"; platform_uwp.name = "UWP";
platform_uwp.entries.push_back("arm"); platform_uwp.entries.push_back("arm");
platform_uwp.entries.push_back("32"); platform_uwp.entries.push_back("32");
platform_uwp.entries.push_back("64"); platform_uwp.entries.push_back("64");

View File

@ -970,7 +970,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform {
public: public:
virtual String get_name() const { virtual String get_name() const {
return "Windows Universal"; return "UWP";
} }
virtual String get_os_name() const { virtual String get_os_name() const {
return "UWP"; return "UWP";
@ -1180,7 +1180,7 @@ public:
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) { virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) {
String src_appx; String src_appx;
EditorProgress ep("export", "Exporting for Windows Universal", 7, true); EditorProgress ep("export", "Exporting for UWP", 7, true);
if (p_debug) { if (p_debug) {
src_appx = p_preset->get("custom_template/debug"); src_appx = p_preset->get("custom_template/debug");