diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index efe51c8..e4266c7 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -148,10 +148,9 @@ function initMenuBar(win: BrowserWindow) { app.quit(); } }, - { + isWindows && { label: "Quit", - accelerator: isWindows ? "Alt+F4" : void 0, - visible: isWindows, + accelerator: "Alt+F4", role: "quit", click() { app.quit();