enable disabling tray

This commit is contained in:
Kendall Garner 2024-09-08 20:55:07 -07:00
parent 74aa88e082
commit 1b41a5a674
No known key found for this signature in database
GPG key ID: 18D2767419676C87
4 changed files with 55 additions and 5 deletions

View file

@ -647,7 +647,9 @@ if (!singleInstance) {
});
createWindow();
createTray();
if (store.get('window_enable_tray', true)) {
createTray();
}
app.on('activate', () => {
// On macOS it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.