We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ee55b7 + 726d99a commit ba2ac1eCopy full SHA for ba2ac1e
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "hydralauncher",
3
- "version": "3.1.2",
+ "version": "3.1.3",
4
"description": "Hydra",
5
"main": "./out/main/index.js",
6
"author": "Los Broxas",
src/main/services/window-manager.ts
@@ -277,14 +277,9 @@ export class WindowManager {
277
if (process.platform !== "darwin") {
278
await updateSystemTray();
279
280
- tray.addListener("click", () => {
+ tray.addListener("double-click", () => {
281
if (this.mainWindow) {
282
- if (
283
- WindowManager.mainWindow?.isMinimized() ||
284
- !WindowManager.mainWindow?.isVisible()
285
- ) {
286
- WindowManager.mainWindow?.show();
287
- }
+ this.mainWindow.show();
288
} else {
289
this.createMainWindow();
290
}
0 commit comments