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 miesięcy temu
..
.github/workflows initail first 4 miesięcy temu
node_modules initail first 4 miesięcy temu
test initail first 4 miesięcy temu
.eslintrc initail first 4 miesięcy temu
.jsfmtrc initail first 4 miesięcy temu
.travis.yml initail first 4 miesięcy temu
LICENSE initail first 4 miesięcy temu
README.md initail first 4 miesięcy temu
appveyor.yml initail first 4 miesięcy temu
index.js initail first 4 miesięcy temu
package.json initail first 4 miesięcy temu

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