feat: double click on icon will open window

This commit is contained in:
LudoO committed 2025-02-04 15:12:30 +01:00
1 parent 0bf3c910b8
commit fa1d20df26
1 file changed
+3
+3
View File
@@ -117,6 +117,9 @@ function createTray(mainWindow) {
} }
} }
]); ]);
tray.on('double-click', function (event) {
mainWindow.show();
});
tray.setToolTip('Vutron App'); tray.setToolTip('Vutron App');
tray.setContextMenu(contextMenu); tray.setContextMenu(contextMenu);
} }