...
if (require('electron-squirrel-startup')) app.quit();
...
const Module = require('./mymodule');
Also, the event handling seems to take quite some time, like it the app was not actually closing immediately. The installation works fine though, and the app then works correctly when it is launched by the user.
Is the code after app.quit() executed? If so, shouldn't this be prevented somehow?
PS: this issue only appeared after upgrading to last version of electron and electron-squirrel
During the startup, I get
The main.js looks like:
Also, the event handling seems to take quite some time, like it the app was not actually closing immediately. The installation works fine though, and the app then works correctly when it is launched by the user.
Is the code after app.quit() executed? If so, shouldn't this be prevented somehow?
PS: this issue only appeared after upgrading to last version of electron and electron-squirrel