You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Muqriz 48f16bfc3e initail first пре 4 месеци
..
.github/workflows initail first пре 4 месеци
node_modules initail first пре 4 месеци
test initail first пре 4 месеци
.eslintrc initail first пре 4 месеци
.jsfmtrc initail first пре 4 месеци
.travis.yml initail first пре 4 месеци
LICENSE initail first пре 4 месеци
README.md initail first пре 4 месеци
appveyor.yml initail first пре 4 месеци
index.js initail first пре 4 месеци
package.json initail first пре 4 месеци

README.md

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