kevinsawicki/tray-example

Open by default when launched

Opened this issue · 0 comments

How can I get the application to be open by default when launched? The current behaviour is that it is hidden when launched until the tray icon is clicked.

I have tried setting the window's "show" option to true and calling the showWindow() function in app.on('ready'...

app.on('ready', () => { createTray(); createWindow(); showWindow(); })