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

Start up automatically in macOS #1051

Closed
h3poteto opened this issue Sep 26, 2019 · 3 comments
Closed

Start up automatically in macOS #1051

h3poteto opened this issue Sep 26, 2019 · 3 comments

Comments

@h3poteto
Copy link
Owner

Describe

Now we can enable auto launch in windows and linux, but it is not possible in macOS.

In macOS, I can use node-auto-launch. But it can only launch with MAC build. In MAS build, we can not setup it.
There are two method to auto launch in MAS.

  1. Use AppleScript
  2. Use Launch Agent

refs: Teamwork/node-auto-launch#43

But electron-builder and electron-packager are not corresponding both of them. So I have to more technically build for MAS, like this: electron/electron#7312 (comment)

@h3poteto
Copy link
Owner Author

Now I decide that it is not necessary Whalebird, because Slack is not implemented this function in MAS build.

@DimitarNestorov
Copy link

DimitarNestorov commented Nov 5, 2019

Same issue you mentioned: electron/electron#7312 (comment)
Also I didn't see this in the non MAS build of Slack either.

https://electronjs.org/docs/api/app#appsetloginitemsettingssettings-macos-windows

@h3poteto h3poteto added the macOS label Mar 21, 2021
@stale
Copy link

stale bot commented Mar 7, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You can remove the stale label with /remove-stale comment. Thank you for your contributions.

@stale stale bot added the stale label Mar 7, 2022
@stale stale bot closed this as completed Mar 14, 2022
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

2 participants