summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/Troubleshoot.jsm
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-13 23:23:55 +0200
committerGitHub <noreply@github.com>2018-06-13 23:23:55 +0200
commitfaa4a1c44f200c77a7e6ba0a559c1309653fda38 (patch)
tree937782cb6f5d5a12780a08261d98e3c86a732a34 /toolkit/modules/Troubleshoot.jsm
parentb2cb0427838a2f4f51be0366004549efb5d206fb (diff)
parente08b25667f20c83cd66e7f55dd98f16ae982974b (diff)
downloadUXP-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/modules/Troubleshoot.jsm')
-rw-r--r--toolkit/modules/Troubleshoot.jsm6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/modules/Troubleshoot.jsm b/toolkit/modules/Troubleshoot.jsm
index 42f3fb809..daf6d99e6 100644
--- a/toolkit/modules/Troubleshoot.jsm
+++ b/toolkit/modules/Troubleshoot.jsm
@@ -188,6 +188,12 @@ var dataProviders = {
if (AppConstants.MOZ_UPDATER)
data.updateChannel = Cu.import("resource://gre/modules/UpdateUtils.jsm", {}).UpdateUtils.UpdateChannel;
+#ifdef HAVE_64BIT_BUILD
+ data.versionArch = "64-bit";
+#else
+ data.versionArch = "32-bit";
+#endif
+
try {
data.vendor = Services.prefs.getCharPref("app.support.vendor");
}