diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-06-13 23:23:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 23:23:55 +0200 |
commit | faa4a1c44f200c77a7e6ba0a559c1309653fda38 (patch) | |
tree | 937782cb6f5d5a12780a08261d98e3c86a732a34 /toolkit/content/about.js | |
parent | b2cb0427838a2f4f51be0366004549efb5d206fb (diff) | |
parent | e08b25667f20c83cd66e7f55dd98f16ae982974b (diff) | |
download | UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar.gz UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar.lz UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.tar.xz UXP-faa4a1c44f200c77a7e6ba0a559c1309653fda38.zip |
Merge pull request #493 from janekptacijarabaci/toolkit_version_architecture_1
Add architecture detection to "about:" and "about:support"
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"] |