Issue #1132 - Add application executable location to the about:support page.

This commit is contained in:
Ascrod 2019-06-10 16:34:50 -04:00 • committed by Roy Tam
commit 7801a344b4
3 changed files with 11 additions and 0 deletions

View file

@ -40,6 +40,7 @@ var snapshotFormatters = {
$("application-box").textContent = data.name; $("application-box").textContent = data.name;
$("useragent-box").textContent = data.userAgent; $("useragent-box").textContent = data.userAgent;
$("os-box").textContent = data.osVersion; $("os-box").textContent = data.osVersion;
$("binary-box").textContent = Services.dirsvc.get("XREExeF", Ci.nsIFile).path;
$("supportLink").href = data.supportURL; $("supportLink").href = data.supportURL;
let version = AppConstants.MOZ_APP_VERSION_DISPLAY; let version = AppConstants.MOZ_APP_VERSION_DISPLAY;
if (data.versionArch) { if (data.versionArch) {

View file

@ -147,6 +147,15 @@
</td> </td>
</tr> </tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsBinary;
</th>
<td id="binary-box">
</td>
</tr>
<tr id="profile-row" class="no-copy"> <tr id="profile-row" class="no-copy">
<th class="column"> <th class="column">
#ifdef XP_WIN #ifdef XP_WIN

View file

@ -45,6 +45,7 @@ This is likely the same like id.heading in crashes.dtd. -->
<!ENTITY aboutSupport.appBasicsUpdateHistory "Update History"> <!ENTITY aboutSupport.appBasicsUpdateHistory "Update History">
<!ENTITY aboutSupport.appBasicsShowUpdateHistory "Show Update History"> <!ENTITY aboutSupport.appBasicsShowUpdateHistory "Show Update History">
<!ENTITY aboutSupport.appBasicsBinary "Application Binary">
<!ENTITY aboutSupport.appBasicsProfileDir "Profile Directory"> <!ENTITY aboutSupport.appBasicsProfileDir "Profile Directory">
<!-- LOCALIZATION NOTE (aboutSupport.appBasicsProfileDirWinMac): <!-- LOCALIZATION NOTE (aboutSupport.appBasicsProfileDirWinMac):
This is the Windows- and Mac-specific variant of aboutSupport.appBasicsProfileDir. This is the Windows- and Mac-specific variant of aboutSupport.appBasicsProfileDir.