diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 3217475..5d6e0c6 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();