electron-squirrel-startup

Default Squirrel.Windows event handler for your Electron apps.

Usage no npm install needed!

<script type="module">
  import electronSquirrelStartup from 'https://cdn.skypack.dev/electron-squirrel-startup';
</script>

README

electron-squirrel-startup

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;

Read More

Handling Squirrel Events

Squirrel.Windows Commands

License

Apache 2.0