idrop-link / idrop.link-osx

idrop.link - self hosted personal screenshot and file cloud to share with your friends, colleagues and family
idrop.link
MIT License
3 stars 0 forks source link

Start at Login #31

Closed ChristianSch closed 9 years ago

ChristianSch commented 9 years ago

http://stackoverflow.com/questions/26475008/swift-getting-a-mac-app-to-launch-on-startup

ChristianSch commented 9 years ago

Basically we need to implement a StartAtLoginController (abstracting the list of login items) that is capable of the following:

We then need to add a checkbox in the preferences pane to toggle this very behaviour. The value of the checkbox is set accordingly to the outcome of the function that checks whether or not the app is in the login items. Toggling the button removes or adds them. The value needs to be checked every time the window is opened.

ChristianSch commented 9 years ago

closed by ae930aa93b801314e27c7c83e08eb373533e97da