How do you create a .XPI package on a mac
How开发者_如何学运维 do you create a .XPI package on a mac
XPI files are just ZIP-files that have been renamed with extension xpi. You can just use the file compression available through the Finder UI or use commands in terminal or automate process using makefiles or similar.
use the xpi builder: https://addons.mozilla.org/en-US/developers/tools/builder
You can pick up any zip tools and can make xpi,
I use 7zip for that, for example
7za a -tzip myextension.xpi chrome install.rdf install.js -r -mx9
see this makefile for example, a xpi is only a zip file.
精彩评论