mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
enable disabling tray
This commit is contained in:
parent
74aa88e082
commit
1b41a5a674
4 changed files with 55 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue