[Project_owners] Testing whether XPI install script is runningonMozilla or Firebird...

Martin Hassman met at penguin.cz
Mon Feb 9 18:14:21 EST 2004


On 9 Feb 2004 at 1:57, Ben Bucksch wrote:

> Pete Collins wrote:
> 
> > if (getFolder("Program") == "MozillaFirebird")
> >   alert("it's a FB install");
> 
> This won't work for re-branded applications.
> 
> (I think that won't anyways).

Yes, e.g. czech version of the FB0.7 is for some reason in the "Firebird" 
directory.

met

-- 
Martin Hassman
Jaky internetovy prohlizec? Zkuste Mozillu http://www.czilla.cz/
Jabber: hassmanm(at)njs.netlab.cz, ICQ: #295399122



More information about the Project_owners mailing list