Closed allo- closed 7 years ago
Use files_inline
like this:
{
'name': 'Privacy Badger',
...
'files_inline': {
'browser-extension-data/jid1-MnnxcxisBPnSXQ@jetpack/storage.js':
'{"settings_map":{"isFirstRun": false}}',
}
}
The new addon SDK offers a storage api, which adds json files in ``/browser-extension-data/EXTENSION_ID/storage.js´´. The config api needs an option to specify where to add the option, i.e. for Privacy Badger (see #21)
possibly adding
json_file
could be the trigger for not usingprefs.js
or there could be atype: "prefs/webextension-storage/..."
setting.