1.0.1 • Published 2 years ago

electron-squirrel-startup v1.0.1

Weekly downloads
15,868
License
Apache-2.0
Repository
github
Last release
2 years ago

electron-squirrel-startup travis npm appveyor

Default Squirrel.Windows event handler for your Electron apps.

Installation

npm i electron-squirrel-startup

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('electron-squirrel-startup')) return;

For Babel/ES6:

const { app } = require('electron');
// ....
if(require('electron-squirrel-startup')) app.quit();

Read More

Handling Squirrel Events

Squirrel.Windows Commands

License

Apache 2.0

1.0.1

2 years ago

1.0.0

10 years ago

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.0.1

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago