Add architecture detection to "about:" and "about:support"

Issue #492
This commit is contained in:
janekptacijarabaci 2018-06-13 17:31:46 +02:00 • committed by Roy Tam
commit 63ad437c13
6 changed files with 21 additions and 5 deletions

View file

@ -42,6 +42,9 @@ var snapshotFormatters = {
$("os-box").textContent = data.osVersion;
$("supportLink").href = data.supportURL;
let version = AppConstants.MOZ_APP_VERSION_DISPLAY;
if (data.versionArch) {
version += " (" + data.versionArch + ")";
}
if (data.vendor)
version += " (" + data.vendor + ")";
$("version-box").textContent = version;