Skip to content

Commit

Permalink
show version in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponchale committed Oct 29, 2024
1 parent 063709b commit 64ccde5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions browser/installer/windows/nsis/defines.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# These defines should match application.ini settings
!define AppName "Firefox"
!define AppVersion "@APP_VERSION@"
!define AppVersionDisplay "@APP_VERSION_DISPLAY@"
!define GREVersion @MOZILLA_VERSION@
!define AB_CD "@AB_CD@"

Expand Down
2 changes: 1 addition & 1 deletion browser/installer/windows/nsis/shared.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ ${RemoveDefaultBrowserAgentShortcut}
${WriteRegStr2} $1 "$0" "Comments" "${BrandFullNameInternal} ${AppVersion}$3 (${ARCH} ${AB_CD})" 0
${WriteRegStr2} $1 "$0" "DisplayIcon" "$8\${FileMainEXE},${IDI_APPICON_ZERO_BASED}" 0
${WriteRegStr2} $1 "$0" "DisplayName" "${BrandFullNameInternal}$3 (${ARCH} ${AB_CD})" 0
${WriteRegStr2} $1 "$0" "DisplayVersion" "${AppVersion}" 0
${WriteRegStr2} $1 "$0" "DisplayVersion" "${AppVersionDisplay}" 0
${WriteRegStr2} $1 "$0" "HelpLink" "${HelpLink}" 0
${WriteRegStr2} $1 "$0" "InstallLocation" "$8" 0
${WriteRegStr2} $1 "$0" "Publisher" "Mozilla" 0
Expand Down
1 change: 1 addition & 0 deletions browser/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export("DIST_SUBDIR")

# These defines are read in firefox.js
DEFINES["APP_VERSION"] = CONFIG["MOZ_APP_VERSION"]
DEFINES["APP_VERSION_DISPLAY"] = CONFIG["MOZ_APP_VERSION_DISPLAY"]

for cdm in CONFIG["MOZ_EME_MODULES"]:
DEFINES["MOZ_%s_EME" % cdm.upper()] = True
Expand Down

0 comments on commit 64ccde5

Please sign in to comment.