From fe41056ece04e998ff5bf9d7ba7c360f697c172e Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Mon, 15 Aug 2022 13:08:37 -0600 Subject: [PATCH] launchers: Disable TB update by policy (bug 1783694) (#1084) Although the `app.update.auto:false` and `app.update.enabled:false` preferences are set, these have no effect on recent versions of Thunderbird due to their removal in Bug 1420514 (ported to TB in Bug 1479289). The replacement policy mechanism of setting `policies.DisableAppUpdate:true` in `distribution/policies.json` was added to FirefoxLauncher in 68ece936, but was not added to ThunderbirdLauncher. This commit applies the same change so that app updates are disabled for Thunderbird. --- mozregression/launchers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozregression/launchers.py b/mozregression/launchers.py index 9d1720758..6f8dc5e3b 100644 --- a/mozregression/launchers.py +++ b/mozregression/launchers.py @@ -402,6 +402,10 @@ class ThunderbirdRegressionProfile(ThunderbirdProfile): class ThunderbirdLauncher(MozRunnerLauncher): profile_class = ThunderbirdRegressionProfile + def _install(self, dest): + super(ThunderbirdLauncher, self)._install(dest) + self._disableUpdateByPolicy() + class AndroidLauncher(Launcher): app_info = None