mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 03:17:31 +09:00
Issue #1132 - Add application executable location to the about:support page.
This commit is contained in:
parent
aae7584fdd
commit
7801a344b4
3 changed files with 11 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue