diff --git a/src/main/menu.window.ts b/src/main/menu.window.ts index 5477871a50a..00b9f259bad 100644 --- a/src/main/menu.window.ts +++ b/src/main/menu.window.ts @@ -19,10 +19,10 @@ export class WindowMenu implements IMenubarMenu { const items = [this.minimize, this.hideToMenu, this.alwaysOnTop]; if (isMac()) { - items.concat([this.zoom, this.separator, this.bringAllToFront]); + items.push(this.zoom, this.separator, this.bringAllToFront); } - items.concat([this.separator, this.close]); + items.push(this.separator, this.close); return items; }