Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Launch at Login #8

Open
matiaz opened this issue Jul 16, 2020 · 1 comment
Open

Automate Launch at Login #8

matiaz opened this issue Jul 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@matiaz
Copy link

matiaz commented Jul 16, 2020

It would be good to automate the process of adding the app to the "Launch at Login".

I'm thinking on adding an option in the preferences popup and let the user clic on it to add it to "Launch at Login". Maybe adding a check to enable or disable that feature.

In this menu:
idea

@DeveloperMaris
Copy link
Owner

@matiaz I was thinking about this feature as well and after an investigation, I found that there isn't any nice way of doing that.
Apple has some classes, which can access the login items, read and modify them, but those APIs are deprecated since macOS 10.11, for example, this is the login item object class - https://developer.apple.com/documentation/coreservices/klssharedfilelistsessionloginitems

Because these classes are deprecated, I'm hoping that they will provide something for us, which can be used now, but I haven't seen any updates or new APIs for that.

And because these APIs are already deprecated a long time ago, I don't want to put them in the codebase.

@DeveloperMaris DeveloperMaris added the enhancement New feature or request label Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants