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