From ae95029d903f06f74026a8467066a733777de8d9 Mon Sep 17 00:00:00 2001 From: r-q Date: Thu, 28 Dec 2023 01:00:59 +0800 Subject: [PATCH] try again --- main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 1e2a768..338f1a3 100644 --- a/main.js +++ b/main.js @@ -705,7 +705,7 @@ app.on('ready', () => { store.set("suggest-star", "suggested"); }, 1000); } - + if (process.platform === "win32") { if (winReleaseId() === -1 && win != null) { let isNotified = store.has("windows-7-notification"); @@ -715,6 +715,8 @@ app.on('ready', () => { } } } + + globalShortcut.unregister('CommandOrControl+Q'); }) function getCustomDialogModeType(mode) {