Ok so i downloaded the source code of an addon for Firefox, that was a .xpi file so i extracted that, changed some functions and now i would like to recreate a .xpi file so i can test it in Firefox.
Can anyone tell me how to do this ?
11 Answer
.xpi files are just zip files,you can create it using the zip command.
i.e zip /path/to/foo.xpi file1 file2 file3
See the extension packaging guide here.
1