mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 21:16:17 +02:00
enable disabling tray
This commit is contained in:
+3
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user