alexzielenski / StartAtLoginController

A class that uses the new ServiceManagement api to allow apps to run at login.
http://www.alexzielenski.com
207 stars 24 forks source link

"Entries set by this class do not appear in the Accounts Panel of System Preferences." #8

Closed pkamb closed 10 years ago

pkamb commented 12 years ago

Is there any way around this limitation? Is the only way for the user to "un-open-at-login" the app then to do it through the app's interface?

Seems kind of crazy that the new Apple-sanctioned sandbox-safe way to open at login doesn't show in System Preferences....

alexzielenski commented 10 years ago

Holy shit I never noticed this issue. For the purposes of the internet and helping someone else with this question I'll answer it. Using the ServiceManagement APIs which are recommended/required for sandboxed applications there is no way around this limitation. You can read more about this here: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html#//apple_ref/doc/uid/10000172i-SW5-BAJJBJEG