How to auto run as minimized on tray when windows start


I have make my app auto run when windows start, but it has a big window popped up which is annoying

what my user want is to have the app minimized on tray after window start

any idea how can I do that in electron ?

Thanks !!!


Are you creating a BrowserWindow? You could just hide it.


Call BrowserWindow.minimize() right after you call