electron-archive / grunt-electron-installer

Grunt plugin to build Windows installers for Electron apps
MIT License
398 stars 106 forks source link

Handling Squirrel Events on Mac OS #126

Closed shinbutchi closed 7 years ago

shinbutchi commented 7 years ago

Hi everyone, Does anybody know how to handle squirrel events on Mac OS. For example, I want to handle case --squirrel-install for auto startup electron application in the first time ? Thanks.

kevinsawicki commented 7 years ago

Does anybody know how to handle squirrel events on Mac OS.

The --squirrel-* events are only fired on Windows.

I want to handle case --squirrel-install for auto startup electron application in the first time ?

This information isn't available through an Electron API on macOS, you'd have to manage that yourself.