Running app in background on Windows


Hi community! I’m developing an app that needs to run in a background on Windows platform. For this moment, if I close the app, this process dies… When executing npm start, I need that the app force to run in background, or when I execute the app, it “exists” one option to running in background. Can you help me?
I don’t know if exist a process of running in background with electron. Maybe call a process of Windows that minimize it, or executing a background process.

I hope that you take me a hand, and thanks in advance.


You may want to create a tray icon, but it sounds like you have app.quit() in the app.on('window-all-closed') function. Removing that should do it