WebExtensions: Difference between revisions

Jump to navigation Jump to search
(added some headers)
Line 62: Line 62:
===Packaging===
===Packaging===


Firefox extensions are packaged as XPI files, which are just ZIP files with an "xpi" extension. One trick is that the ZIP file must be a ZIP of the files in the add-on, not of the containing directory. So to create an XPI from the borderify files, at the command prompt type, from inside the `borderify` directory, type:
Firefox extensions are packaged as XPI files, which are just ZIP files with an "xpi" extension.
 
One trick is that the ZIP file must be a ZIP of the files in the add-on, not of the containing directory. So to create an XPI from the borderify files, at the command prompt type, from inside the `borderify` directory, type:


     # in webextensions-examples/borderify/
     # in webextensions-examples/borderify/
canmove, Confirmed users
737

edits

Navigation menu