From 7524fa408ce85555751d2f596e856b2203d5cbf9 Mon Sep 17 00:00:00 2001 From: Alex Kontos Date: Thu, 14 Jul 2022 15:43:17 +0100 Subject: [PATCH] [WFX-344] Add update check disabling. --- browser/components/BrowserGlue.jsm | 1 + browser/components/preferences/main.inc.xhtml | 3 ++ browser/components/preferences/main.js | 33 +++++++++++++++++-- browser/modules/AppUpdater.jsm | 11 +++++++ toolkit/mozapps/update/UpdateService.jsm | 9 +++++ waterfox/browser/app/profile/000-waterfox.js | 1 + 6 files changed, 56 insertions(+), 2 deletions(-) diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm index 0481565accab9..39a1450390c5a 100644 --- a/browser/components/BrowserGlue.jsm +++ b/browser/components/BrowserGlue.jsm @@ -1279,6 +1279,7 @@ BrowserGlue.prototype = { // check for update if our build is old if ( AppConstants.MOZ_UPDATER && + Services.prefs.getBoolPref("app.update.enabled") && Services.prefs.getBoolPref("app.update.checkInstallTime") ) { let buildID = Services.appinfo.appBuildID; diff --git a/browser/components/preferences/main.inc.xhtml b/browser/components/preferences/main.inc.xhtml index 0deb010bbefdb..3d7e002d91155 100644 --- a/browser/components/preferences/main.inc.xhtml +++ b/browser/components/preferences/main.inc.xhtml @@ -620,6 +620,9 @@ +