diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 4e115a1..b08e9da 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -133,6 +133,18 @@ function initMenuBar(win: BrowserWindow) { app.quit(); } }, + ...(process.platform === "darwin" + ? [ + { + label: "Hide", + role: "hide" as const + }, + { + label: "Hide others", + role: "hideOthers" as const + } + ] + : []), { label: "Quit", accelerator: wantCtrlQ ? "CmdOrCtrl+Q" : void 0,