Refracta Development, Scripts, etc.
Post a reply

Working with xpi files

Wed Mar 19, 2014 3:44 pm

Had an interesting time last night trying to make a change in a Firefox xpi addon. Squeeze couldn't even open the file. x-archiver could open it but threw an error when I tried to replace the tweaked file. Moved over to my production machine (squeeze w/ gnome) and gnome file-roller had no problem executing the task. Went back to refracta, installed file roller and it worked just fine. Posting this in case anyone else ever comes up against the xpi frustration I experienced.

Re: Working with xpi files

Wed Mar 19, 2014 10:04 pm

Never experimented to see which archivers recognized the xpi extension. I've just always manually renamed the xpi to .zip, upacked / etited contents / repacked and rezipped. Then changed the file extension back to xpi so that ff would accept it.

Re: Working with xpi files

Wed Mar 19, 2014 10:11 pm

thwak wrote:Never experimented to see which archivers recognized the xpi extension. I've just always manually renamed the xpi to .zip, upacked / etited contents / repacked and rezipped. Then changed the file extension back to xpi so that ff would accept it.

I actually tried that before installing file-roller and x-archiver still couldn't handle adding the rewritten file. :(
Post a reply