Default Squirrel.Windows event handler for your Electron apps.
npm install electric-squirrelelectric-squirrel> Default [Squirrel.Windows][squirrel] event handler for your [Electron][electron] apps.
> Forked from [mongodb-js][electron-squirrel-original] to support Electron 1.0.0+
```
npm i electric-squirrel
To handle the most common commands, such as managing desktop shortcuts, just
add the following to the top of your main.js and you're good to go:
`js`
if(require('electric-squirrel')) return;
To upload this package to npm, I cannot reuse electron-squirrel-startup, and need to create aSquirrel
new name. It should be memorable, and also be relevant. It's related to tying together the electric-squirrel`
packaging framework and Electron, so bazam:
Apache 2.0
[squirrel]: https://github.com/Squirrel/Squirrel.Windows
[electron]: https://github.com/atom/electron
[squirrel-commands]: https://github.com/Squirrel/Squirrel.Windows/blob/master/src/Update/Program.cs#L98
[squirrel-events]: https://github.com/atom/grunt-electron-installer#handling-squirrel-events
[electron-squirrel-original]: https://github.com/mongodb-js/electron-squirrel-startup