diff options
author | girst <girst@users.noreply.github.com> | 2020-01-18 19:35:02 +0100 |
---|---|---|
committer | girst <girst@users.noreply.github.com> | 2020-01-18 19:39:17 +0100 |
commit | 54655696e65acc67ec73f01932fa2ddb1e236a78 (patch) | |
tree | 2b0d84f3c748dbe24aa9a7a854f340949bbade2f | |
parent | d3a9a879d2b064e33d30779774896c69a4423cb6 (diff) | |
download | legacywolf-54655696e65acc67ec73f01932fa2ddb1e236a78.tar.gz legacywolf-54655696e65acc67ec73f01932fa2ddb1e236a78.zip |
Fix addon installation for Firefox 74
regressed by: Bug 1524327
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | config.js | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -20,4 +20,4 @@ trademark; you are not granted any right to distribute modified binary versions of the software containing the official branding. (C) 2018-2019 Mozilla, MPL v2 -(C) 2019 //gir.st/, MPL v2 +(C) 2019-2020 //gir.st/, MPL v2 @@ -1,11 +1,14 @@ // keep this comment try { let Xdb = Cu.import('resource://gre/modules/addons/XPIDatabase.jsm', {}); + Xdb.XPIDatabase.isDisabledLegacy = (addon) => false; Xdb.XPIDatabase['SIGNED_TYPES'].clear(); Xdb.AddonSettings = { "REQUIRE_SIGNING": false, "LANGPACKS_REQUIRE_SIGNING": false, - "ALLOW_LEGACY_EXTENSIONS": true, + "ALLOW_LEGACY_EXTENSIONS": true, // <=fx73 + "EXPERIMENTS_ENABLED": true, // >=fx74 + "DEFAULT_THEME_ID": "default-theme@mozilla.org", }; const {FileUtils} = Cu.import('resource://gre/modules/FileUtils.jsm'); |