feat: double click on icon will open window
This commit is contained in:
1 parent
0bf3c910b8
commit
fa1d20df26
1 file changed
+3
@@ -117,6 +117,9 @@ function createTray(mainWindow) {
|
||||
}
|
||||
}
|
||||
]);
|
||||
tray.on('double-click', function (event) {
|
||||
mainWindow.show();
|
||||
});
|
||||
tray.setToolTip('Vutron App');
|
||||
tray.setContextMenu(contextMenu);
|
||||
}
|
||||
Reference in new issue
Block a user