[Project_owners] Re: install.js and OSX

Philip Chee philip at aleytys.pc.my
Tue May 9 10:25:28 EDT 2006


On Tue, 09 May 2006 08:39:25 +0900, Gerald Vogt wrote:
> Philip Chee wrote:

>> In install.js I know I can use Install.platform to detect what the OS is
>> (Darwin/Win32/Linux). But how to differenciate between Darwin/PPC and
>> Darwin/x86? Note: I don't have a Mac of any sort so please don't say
>> "suck it and see".

> Well, from the source code I would say it does not know about x86 yet:

> http://lxr.mozilla.org/seamonkey/source/xpinstall/src/nsInstall.cpp#326

> It just seems to be "Macintosh; PPC". The PPC is fixed coded for 
> Macintosh. And I can tell you that Firefox reports PPC in its credits on 
> an Intel iMac. I would say nobody changed that, yet, or better bothered 
> to figure out whether it runs on Intel or PPC Mac.

Grrr. On the Firefox side of things there is support for platform
specific installs in {install.rdf|chrome.manifest}. I guess nobody using
Suite/SeaMonkey ever tests extensions on MacIntels.

Phil
-- 
Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]:.::: ::..: ::.::.  :..:: Tagline in Braille
* TagZilla 0.059


More information about the Project_owners mailing list