Skip to content

Commit

Permalink
launchers: Disable TB update by policy (bug 1783694) (#1084)
Browse files Browse the repository at this point in the history
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 68ece93, but was not added to
ThunderbirdLauncher.  This commit applies the same change so that app
updates are disabled for Thunderbird.
  • Loading branch information
kevinoid committed Aug 15, 2022
1 parent 8ada204 commit fe41056
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mozregression/launchers.py
Expand Up @@ -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
Expand Down

0 comments on commit fe41056

Please sign in to comment.