

You can get debug messages from this package by running with the environment variable DEBUG=electron-windows-installer:main e.g.


Another thing to be aware of is that, since the app is spawned by squirrel and squirrel acquires a file lock during installation, you won't be able to successfully check for app updates till a few seconds later when squirrel releases the lock. Install Nodejs In this tutorial, we are going to install Electron using the Node Package Manager (NPM). You could see it as a variant of the Node.js runtime that is focused on desktop applications instead of web servers. This allows you to do things like showing up a splash screen or presenting a settings UI. Notice that the first time the installer launches your app, your app will see a -squirrel-firstrun flag. Windows installer you can create install packages. NB: Use this syntax within an async function, Node does not have support for // top-level await as of Node 12.
