summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-05-14 16:12:00 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-05-14 16:12:00 -0400
commit4b4b4a59cac398083e4ee224a1b90c98c26c1dfa (patch)
treefc3ea856d5a3cd4b3acc8ab81a72a82a72f3d128
parent1a0462b4587a127d90e36b1f50687a223be8ba0f (diff)
downloadUXP-4b4b4a59cac398083e4ee224a1b90c98c26c1dfa.tar
UXP-4b4b4a59cac398083e4ee224a1b90c98c26c1dfa.tar.gz
UXP-4b4b4a59cac398083e4ee224a1b90c98c26c1dfa.tar.lz
UXP-4b4b4a59cac398083e4ee224a1b90c98c26c1dfa.tar.xz
UXP-4b4b4a59cac398083e4ee224a1b90c98c26c1dfa.zip
[PALEMOON] Override Windows Installer usage of MOZ_APP_DISPLAYNAME when appropriate
-rw-r--r--application/palemoon/installer/windows/moz.build10
1 files changed, 7 insertions, 3 deletions
diff --git a/application/palemoon/installer/windows/moz.build b/application/palemoon/installer/windows/moz.build
index 12e7831ed..394a85ccf 100644
--- a/application/palemoon/installer/windows/moz.build
+++ b/application/palemoon/installer/windows/moz.build
@@ -4,8 +4,12 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
-
DEFINES['MOZ_APP_NAME'] = CONFIG['MOZ_APP_NAME']
-DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
+DEFINES['APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
DEFINES['MOZILLA_VERSION'] = CONFIG['MOZILLA_VERSION']
+
+if CONFIG['MOZ_APP_DISPLAYNAME'] in ('PaleMoon', 'Palemoon'):
+ DEFINES['MOZ_APP_DISPLAYNAME'] = "Pale Moon"
+else:
+ DEFINES['MOZ_APP_DISPLAYNAME'] = CONFIG['MOZ_APP_DISPLAYNAME']
+