Re: Use XPInstall to install plugins on diffrent platforms !
"Benjamin D. Smedberg" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xpinstall |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Stefan Frasch wrote: > 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. --BDS