Browse Source

Follow-up to previous revision: Added comment.

master
Jorg Knobloch 1 year ago
parent
commit
290f28cb09
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      pEp_JSON.py

+ 4
- 0
pEp_JSON.py View File

@ -80,6 +80,10 @@ def enable_addon(profile):
if not found:
prefs.append('user_pref("mail.openpgp.enable", false);\n')
# The values for extensions.startupScanScopes are explained here:
# https://searchfox.org/mozilla-central/rev/bfdb6a1ef893e4c926ce52700ed187a9743603ce/toolkit/mozapps/extensions/AddonManager.jsm#3844
# The Thunderbird default is SCOPE_APPLICATION (4): Installed and owned by the application.
# We add SCOPE_PROFILE (1): Installed in this profile.
found = False
for i in xrange(len(prefs)):
line = prefs[i]


Loading…
Cancel
Save