Détail du package

electric-squirrel

mitchhentges13Apache-2.01.0.2

Default Squirrel.Windows event handler for your Electron apps.

electron, electron-installer, squirrel.windows

readme

electric-squirrel

Default Squirrel.Windows event handler for your Electron apps. Forked from mongodb-js to support Electron 1.0.0+

Installation

npm i electric-squirrel

Usage

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:

if(require('electric-squirrel')) return;

Read More

Handling Squirrel Events

Squirrel.Windows Commands

Why "electric-squirrel"?

To upload this package to npm, I cannot reuse electron-squirrel-startup, and need to create a new name. It should be memorable, and also be relevant. It's related to tying together the Squirrel packaging framework and Electron, so bazam: electric-squirrel

License

Apache 2.0

changelog

1.0.2

  • Remove debug dependency, because it wasn't providing that useful of information

1.0.1

  • Supports electron@^1.0.0 (i: @Vj3k0)

1.0.0

  • Forked from electron-squirrel-startup