Parameters for tray.setCloseToTray.
Hide the window to the tray instead of quitting when it is closed. Without a tray icon from create the window is minimized instead, so it can still be found on the taskbar. create resets this from the preferences, so call it afterwards.
Parameters for
tray.setCloseToTray. Hide the window to the tray instead of quitting when it is closed. Without a tray icon fromcreatethe window is minimized instead, so it can still be found on the taskbar.createresets this from the preferences, so call it afterwards.