9 Dec
2007
9 Dec
'07
4:38 p.m.
Greetings, I have a Login Item that I'd like to replace with a ~/Library/LaunchAgent. It's a LSUIElement=YES Cocoa application. What should the executable path be? If I set it to the bundle folder, is launchd smart enough to figure out that its an application? Or do I need to set it to .../MyApp.app/Contents/MacOS/MyApp? I ask because I've been warned by the Cocoa engineers to avoid starting applications that way. -- James Bucanek