Search code examples
node.jsmacosstartupelectron

Getting a app to be run on startup


I'm making a mac app using atom shell that lives in the menubar. I was wondering what my options would be for getting it to run at startup.

  • Does it have to be done manually by the user?
  • Do I need permission from the user to do this?
  • How would I do it programmatically with node / bash?
  • Is there an existing thing within atom shell to do this?
  • Is there an existing module that can do this?

Solution

  • Give the auto-launch module a try, it should do what you want. To answer your questions:

    • No
    • No, but it'd be Classier™ if you asked first
    • See Above
    • No
    • See Above.