summaryrefslogtreecommitdiff
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
commit531325786f9b18945f183240de6b0e03a4e7020a (patch)
treefc3ea856d5a3cd4b3acc8ab81a72a82a72f3d128
parentaf8d13ee58eaf76475d9d1f4428cad932399c35e (diff)
downloaduxp-531325786f9b18945f183240de6b0e03a4e7020a.tar.gz
[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 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']
+