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

Feature: disable/enable LoginItems #27

Open
hazcod opened this issue Nov 15, 2022 · 3 comments
Open

Feature: disable/enable LoginItems #27

hazcod opened this issue Nov 15, 2022 · 3 comments

Comments

@hazcod
Copy link
Owner

hazcod commented Nov 15, 2022

We currently still need to support to enable/disable login items in Ventura.
This would work by:

  1. Adding it in /var/db/com.apple.xpc.launchd/disabled.*.plist with <key>NAME</key>\n<true/> to disable.
  2. Adding it in /var/db/com.apple.xpc.launchd/disabled.*.plist with <key>NAME</key>\n<false/> to disable.
@masonc15
Copy link

I think this is the issue I'm running into when trying to disable a startup item:

$ maclaunch disable com.wiheads.paste-setapp-LaunchAtLoginHelper
/opt/homebrew/bin/maclaunch: line 608: disableLoginItems: command not found

Just wanted to add it for context. Thanks!

@ctsstc
Copy link

ctsstc commented Aug 20, 2024

I noticed that disableLoginItems was added in the following commit, but there hasn't been an accompanying function for it. I searched google for the command/function and nothing shows up.
eb91b57

The function left unimplemented so that it would throw an error until this is implemented thus fixing it?

@hazcod
Copy link
Owner Author

hazcod commented Aug 20, 2024

Yes, indeed. This issue is specifically about implementing that function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants