summaryrefslogtreecommitdiff
path: root/application
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 /application
parent1a0462b4587a127d90e36b1f50687a223be8ba0f (diff)
downloaduxp-4b4b4a59cac398083e4ee224a1b90c98c26c1dfa.tar.gz
[PALEMOON] Override Windows Installer usage of MOZ_APP_DISPLAYNAME when appropriate
Diffstat (limited to 'application')
-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 12e7831ed2..394a85ccf6 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']
+