diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-13 17:31:46 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-13 17:31:46 +0200 |
commit | e08b25667f20c83cd66e7f55dd98f16ae982974b (patch) | |
tree | 7a8d031f121417cb735c5c6e7bb0cec647482d26 /toolkit/content/about.js | |
parent | 27a19a14646f23194ecfe87530dd8d1d5b25fa57 (diff) | |
download | UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar.gz UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar.lz UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.tar.xz UXP-e08b25667f20c83cd66e7f55dd98f16ae982974b.zip |
Add architecture detection to "about:" and "about:support"
Issue #492
Diffstat (limited to 'toolkit/content/about.js')
-rw-r--r-- | toolkit/content/about.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/toolkit/content/about.js b/toolkit/content/about.js index c27916c10..c402ea685 100644 --- a/toolkit/content/about.js +++ b/toolkit/content/about.js @@ -33,7 +33,12 @@ var versionNum = Components.classes["@mozilla.org/xre/app-info;1"] .getService(Components.interfaces.nsIXULAppInfo) .version; var version = document.getElementById("version"); -version.textContent += " " + versionNum; +#ifdef HAVE_64BIT_BUILD +var versionStr = versionNum + " (64-bit)"; +#else +var versionStr = versionNum + " (32-bit)"; +#endif +version.textContent += " " + versionStr; // insert the buildid of the XUL application var BuildIDVal = Components.classes["@mozilla.org/xre/app-info;1"] |