Re: Login item support for Panther, Tiger and Leopard
Re: Login item support for Panther, Tiger and Leopard
- Subject: Re: Login item support for Panther, Tiger and Leopard
- From: Nir Soffer <email@hidden>
- Date: Tue, 5 Feb 2008 02:33:55 +0200
On Jan 31, 2008, at 11:41, Apparao Mulpuri wrote:
I have an application which will run on Panther, Tiger and Leopard
versions.
Now, i want to launch my application automatically after user
(should work
for all users in the installed machine) logs in. I have tried with the
Startup item, LaunchAgents and login item concepts.
There is no supported way to do this before 10.5.
On 10.5, use launch agent, see man launchd and man launchd.plist.
Don't use launch agent on 10.4 - it is broken. There is a reason
Apple do not use launch agent on 10.4 - they use mach_init_per_user
agents.
On 10.4, you can try unsupported /etc/mach_init_per_user.d - this is
what Apple use, and 10.4 is not going to change and break your
unsupported code. And in 2 years, 10.4 will be dead anyway.
10.3 is dead :-)
For more info see http://developer.apple.com/technotes/tn2005/
tn2083.html
Best Regards,
Nir Soffer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden