Command line arguments via Application bundle (.app)?

Dimi Shahbaz <[email protected]> Wed, 9 Mar 2005 13:16:35 -0800
Newsgroups gmane.comp.mozilla.devel.macosx
Organization Another Netscape Collabra Server User
Message-ID <2005030913163516807%dimator@gmailcom>
Hi,
I need to launch Mozilla with a specific command line (I'm specifying 
chrome, and profile).  As far as I can tell, there is no way to specify 
the command line arguments I want in the Mozilla.app/Content/Info.plist 
file.  I'm aware I can do ./Mozilla.app/Content/MacOS/mozilla-bin 
-args, but I really need the app icon to be clickable with the same 
arguments.

From what I've read, the application itself has to have the smarts to 
read back into the Info.plist for any arguments it might use, but this 
is all application specific.  I browsed around LXR to see if Mozilla 
supports such a construct, but no luck.

Thanks,
Dimi