Benjamin D. Smedberg aber hob zu reden an und schrieb:
>> I want to use XPInstall for installing my browser plugin. But my plugin is
>> available for win32 also for unix (irix, aix, linux).
>> 
>> How I can differ inside install.js between the platforms ? Yes, I know, XP
>> stands for "Cross-Platform" !
> 
> Start with this function:
> 
> http://lxr.mozilla.org/mozilla/source/xpinstall/packager/common/share.t#61
> 
> Right now it has a generic win/mac/unix detection, but it probably 
> wouldn't be that hard to expand the platform check to distinguish 
> between irix/aix/linux.

Apart from that, you can pass a parameter array to your install.js, see
http://www.mozdev.org/source/browse/mnenhy/src/bin/install.js?rev=1.28


Karsten
-- 
       Freiheit stirbt        |       Fsayannes SF&F-Bibliothek:
            Mit Sicherheit    |       http://fsayanne.tprac.de/
_______________________________________________
Mozilla-xpinstall mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to