From e064c1567548f098233b7a2d1101cb5201dec049 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Wed, 2 Feb 2022 20:59:35 -0600 Subject: [PATCH] appx: Use a different resource for the Properties DisplayName (#12337) We have to do this so that the store sees us as one thing ("Windows Terminal") and the Start menu sees us as another ("Terminal"). The store will reject our package if the value we use for "DisplayName" here doesn't match the store's "reserved names". This value is *not used* by the start menu. --- src/cascadia/CascadiaPackage/Package-Dev.appxmanifest | 2 +- src/cascadia/CascadiaPackage/Package-Pre.appxmanifest | 2 +- src/cascadia/CascadiaPackage/Package.appxmanifest | 2 +- .../TerminalApp/Resources/en-US/ContextMenu.resw | 10 ++++++++++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/cascadia/CascadiaPackage/Package-Dev.appxmanifest b/src/cascadia/CascadiaPackage/Package-Dev.appxmanifest index ae79b594e89..715068f32b6 100644 --- a/src/cascadia/CascadiaPackage/Package-Dev.appxmanifest +++ b/src/cascadia/CascadiaPackage/Package-Dev.appxmanifest @@ -20,7 +20,7 @@ Version="0.0.1.0" /> - ms-resource:TerminalApp/ContextMenu/AppNameDev + ms-resource:TerminalApp/ContextMenu/AppStoreNameDev A Lone Developer Images\StoreLogo.png diff --git a/src/cascadia/CascadiaPackage/Package-Pre.appxmanifest b/src/cascadia/CascadiaPackage/Package-Pre.appxmanifest index a42af36f8d1..ea949350e84 100644 --- a/src/cascadia/CascadiaPackage/Package-Pre.appxmanifest +++ b/src/cascadia/CascadiaPackage/Package-Pre.appxmanifest @@ -21,7 +21,7 @@ Version="0.5.0.0" /> - ms-resource:TerminalApp/ContextMenu/AppNamePre + ms-resource:TerminalApp/ContextMenu/AppStoreNamePre Microsoft Corporation Images\StoreLogo.png diff --git a/src/cascadia/CascadiaPackage/Package.appxmanifest b/src/cascadia/CascadiaPackage/Package.appxmanifest index 6cfa72fb54e..c02e8b940d8 100644 --- a/src/cascadia/CascadiaPackage/Package.appxmanifest +++ b/src/cascadia/CascadiaPackage/Package.appxmanifest @@ -21,7 +21,7 @@ Version="1.0.0.0" /> - ms-resource:TerminalApp/ContextMenu/AppName + ms-resource:TerminalApp/ContextMenu/AppStoreName Microsoft Corporation Images\StoreLogo.png diff --git a/src/cascadia/TerminalApp/Resources/en-US/ContextMenu.resw b/src/cascadia/TerminalApp/Resources/en-US/ContextMenu.resw index cf9897c484b..3277f3ad4f0 100644 --- a/src/cascadia/TerminalApp/Resources/en-US/ContextMenu.resw +++ b/src/cascadia/TerminalApp/Resources/en-US/ContextMenu.resw @@ -127,6 +127,16 @@ Terminal Preview + + Windows Terminal + + + Windows Terminal Dev + {Locked} The dev build will never be seen in multiple languages + + + Windows Terminal Preview + Terminal