I am trying to auto launch my electron app, electron docs provide the instructions.
I tried electron-quick-start app with this code:
app.setLoginItemSettings({
openAtLogin: true
})
This works fine without any issue.
But my electron app is just a main process running in background (no BrowserWindow). And when I use this setting in it creates startup entry but doesn't start on windows login.
