1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

[PALEMOON] Override Windows Installer usage of MOZ_APP_DISPLAYNAME when appropriate

This commit is contained in:
NTD
2018-05-14 16:12:00 -04:00
committed by Roy Tam
parent 796831d0cd
commit 3f5f572bde
@@ -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']