diff options
author | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2019-06-10 16:34:50 -0400 |
---|---|---|
committer | Ascrod <32915892+Ascrod@users.noreply.github.com> | 2019-06-10 16:34:50 -0400 |
commit | a072b02d9305ac35e9698f272ef9fe2f99420791 (patch) | |
tree | 27ce4b614f075f99983fee79de28621d9b3a0ee0 /toolkit/content | |
parent | 19c0f5e9ff625c6a67e5e0a08f0a800782168492 (diff) | |
download | uxp-a072b02d9305ac35e9698f272ef9fe2f99420791.tar.gz |
Issue #1132 - Add application executable location to the about:support page.
Diffstat (limited to 'toolkit/content')
-rw-r--r-- | toolkit/content/aboutSupport.js | 1 | ||||
-rw-r--r-- | toolkit/content/aboutSupport.xhtml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index b1d7ab5f64..8908a0f809 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 5eb64d437b..5e6319182e 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 |