Package Exports
- electron-squirrel-startup
- electron-squirrel-startup/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (electron-squirrel-startup) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
electron-squirrel-startup

Default Squirrel.Windows event handler for your Electron apps.
Installation
npm i electron-squirrel-startupUsage
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