Confirmed users
130
edits
Wmccloskey (talk | contribs) (Updated packaging) |
Wmccloskey (talk | contribs) (don't even remember) |
||
| Line 26: | Line 26: | ||
== Packaging == | == Packaging == | ||
In the future, we're planning to use the .zip file extension. We | In the future, we're planning to use the .zip file extension. We use the following manifest section for Gecko-specific data. We're hoping that most of this information can be stored only on addons.mozilla.org later on. | ||
<blockquote><pre> | |||
"applications": { | |||
"gecko": { | |||
"id": "{the-addon-id}", | |||
"strict_min_version": "40.0.0", | |||
"strict_max_version": "50.*" | |||
"update_url": "https://foo/bar" | |||
} | |||
} | |||
</pre></blockquote> | |||
Both version fields are be Gecko rapid release versions. The update URL points to an [https://developer.mozilla.org/en-US/docs/Extension_Versioning,_Update_and_Compatibility#Update_RDF_Format update manifest]. We hope to make all of these properties optional. The id would have to be generated fresh either upon local installation or when uploaded to addons.mozilla.org or Marketplace. | |||
See https://developer.chrome.com/extensions/manifest for a complete list of manifest directives. The ones we currently support are below. | See https://developer.chrome.com/extensions/manifest for a complete list of manifest directives. The ones we currently support are below. | ||
| Line 39: | Line 52: | ||
* browser_action | * browser_action | ||
* default_locale | * default_locale | ||
== List of supported APIs == | == List of supported APIs == | ||