summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/Troubleshoot.jsm
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-13 17:31:46 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-13 17:31:46 +0200
commite08b25667f20c83cd66e7f55dd98f16ae982974b (patch)
tree7a8d031f121417cb735c5c6e7bb0cec647482d26 /toolkit/modules/Troubleshoot.jsm
parent27a19a14646f23194ecfe87530dd8d1d5b25fa57 (diff)
downloadUXP-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/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");
}