enable disabling tray

This commit is contained in:
Kendall Garner
2024-09-08 20:55:07 -07:00
parent 74aa88e082
commit 1b41a5a674
4 changed files with 55 additions and 5 deletions
+3 -1
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.