diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2019-06-19 21:04:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 21:04:45 -0400 |
commit | 14b635fa52c1d705778c16e310474eb4ea63403d (patch) | |
tree | db57c5f81f1b40fcc930cd714584f09c7dde538f | |
parent | 276f6583e00edf2a217a3092471ca2aa3aab5a09 (diff) | |
parent | a072b02d9305ac35e9698f272ef9fe2f99420791 (diff) | |
download | UXP-14b635fa52c1d705778c16e310474eb4ea63403d.tar UXP-14b635fa52c1d705778c16e310474eb4ea63403d.tar.gz UXP-14b635fa52c1d705778c16e310474eb4ea63403d.tar.lz UXP-14b635fa52c1d705778c16e310474eb4ea63403d.tar.xz UXP-14b635fa52c1d705778c16e310474eb4ea63403d.zip |
Merge pull request #1133 from Ascrod/master
Add application executable location to the about:support page
-rw-r--r-- | toolkit/content/aboutSupport.js | 1 | ||||
-rw-r--r-- | toolkit/content/aboutSupport.xhtml | 9 | ||||
-rw-r--r-- | toolkit/locales/en-US/chrome/global/aboutSupport.dtd | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index b1d7ab5f6..8908a0f80 100644 --- a/toolkit/content/aboutSupport.js +++ b/toolkit/content/aboutSupport.js @@ -40,6 +40,7 @@ var snapshotFormatters = { $("application-box").textContent = data.name; $("useragent-box").textContent = data.userAgent; $("os-box").textContent = data.osVersion; + $("binary-box").textContent = Services.dirsvc.get("XREExeF", Ci.nsIFile).path; $("supportLink").href = data.supportURL; let version = AppConstants.MOZ_APP_VERSION_DISPLAY; if (data.versionArch) { diff --git a/toolkit/content/aboutSupport.xhtml b/toolkit/content/aboutSupport.xhtml index 5eb64d437..5e6319182 100644 --- a/toolkit/content/aboutSupport.xhtml +++ b/toolkit/content/aboutSupport.xhtml @@ -147,6 +147,15 @@ </td> </tr> + <tr class="no-copy"> + <th class="column"> + &aboutSupport.appBasicsBinary; + </th> + + <td id="binary-box"> + </td> + </tr> + <tr id="profile-row" class="no-copy"> <th class="column"> #ifdef XP_WIN diff --git a/toolkit/locales/en-US/chrome/global/aboutSupport.dtd b/toolkit/locales/en-US/chrome/global/aboutSupport.dtd index a0dd3531b..a2477fb2e 100644 --- a/toolkit/locales/en-US/chrome/global/aboutSupport.dtd +++ b/toolkit/locales/en-US/chrome/global/aboutSupport.dtd @@ -45,6 +45,7 @@ This is likely the same like id.heading in crashes.dtd. --> <!ENTITY aboutSupport.appBasicsUpdateHistory "Update History"> <!ENTITY aboutSupport.appBasicsShowUpdateHistory "Show Update History"> +<!ENTITY aboutSupport.appBasicsBinary "Application Binary"> <!ENTITY aboutSupport.appBasicsProfileDir "Profile Directory"> <!-- LOCALIZATION NOTE (aboutSupport.appBasicsProfileDirWinMac): This is the Windows- and Mac-specific variant of aboutSupport.appBasicsProfileDir. |