Nov 23, 2009

Packagin An Xpi On A Mac - How?

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General

Packagin An Xpi On A Mac - How?

szupie
It's easy to package a Firefox extension on Windows after you have all the files ready: just zip the files up with WinZip, and change the file extension to xpi. But on a Mac, you can't just change the file extension and expect the file type to change also. When I tried to drag a zipped file with the xpi file extension into Firefox, it asked me if I wanted to download the file, instead of trying to install the file. How am I supposed to package the extension, then? Do I have to switch to a Windows computer everytime I want to do so (Not that it happens often)? Is keeping the extension in the unpacked form in a special folder on my computer my only other option? I can't seem to find any references to this in the manuals for developers.

Comment/Reply (w/o sign-up)

ethergeek
You could always set up a webserver on your mac and make sure it reports the mime type for .xpi properly.

I have a feeling your mac is being too smart for its own good and looking at the alternate streams on the file. Either that, or you just renamed the file without changing the extension; i.e., file.zip -> file.xpi.zip. Try doing the rename in the terminal as opposed to the finder. Maybe the Get Info command will let you change the file type...

I hope all of this helps smile.gif

Comment/Reply (w/o sign-up)

FeedBacker
Packagin An Xpi on a Mac - How?
Packagin An Xpi On A Mac

You can go to Tools -> Add-ons and drag the .Xpi file. It will then ask you if you want to install that file.

I'm sure it works because I just did, though "tools" and "add-ons" might be with different names in your firefox, because mine is in Spanish, and that's the closest words I could think of.

-daniela

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Packagin Xpi Mac


    Looking for packagin, xpi, mac


*SIMILAR VIDEOS*
Searching Video's for packagin, xpi, mac
advertisement



Packagin An Xpi On A Mac - How?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com