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

feat: configure auto startup in macos #7097

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hichemfantar
Copy link

@hichemfantar hichemfantar commented Oct 4, 2024

This pull request adds a new function called toggleAutoStartup and a corresponding menu item to the application. The function allows the user to enable or disable auto startup of the application. When the function is called, it updates the application's login item settings and displays a notification to indicate whether auto startup is enabled or disabled. The menu item is added to the tray menu and allows the user to easily toggle the auto startup setting. Additionally, the tray menu is now updated when clicked to avoid displaying stale information.

closes #162

image

image

image

Screen.Recording.2024-10-20.at.12.21.28.AM.mp4

@hichemfantar hichemfantar changed the title Add toggleAutoStartup function and menu item Add toggleAutoStartup function and menu item in macos Oct 4, 2024
@hichemfantar hichemfantar changed the title Add toggleAutoStartup function and menu item in macos feat: Add toggleAutoStartup function and menu item in macos Oct 4, 2024
@hichemfantar hichemfantar changed the title feat: Add toggleAutoStartup function and menu item in macos feat: configure auto startup in macos Oct 4, 2024
Copy link

@vignesh1507 vignesh1507 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree with the changes.

@hichemfantar
Copy link
Author

hichemfantar commented Oct 7, 2024

@jmorganca @mchiang0610 can we get this merged?

@hichemfantar
Copy link
Author

image

@hichemfantar
Copy link
Author

@BruceMacD do you think you can merge this since it’s highly requested by the community

@hichemfantar
Copy link
Author

cc @mxyng @dhiltgen @pdevine please merge this, it's highly requested

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

Successfully merging this pull request may close these issues.

Don't automatically start on startup / have an option to disable this
2 participants