diff --git a/app/menu.js b/app/menu.js index 5dadb43..f9e6f89 100644 --- a/app/menu.js +++ b/app/menu.js @@ -126,6 +126,14 @@ const menulayout = [ }); }, }, + { + label: "Check for Updates", + id: "check-for-updates", + click: async () => { + await checkForUpdates(); + }, + }, + { type: "separator" }, { label: "Learn More", click: async () => { @@ -134,13 +142,6 @@ const menulayout = [ ); }, }, - { - label: "Check for Updates...", - id: "check-for-updates", - click: async () => { - await checkForUpdates(); - }, - }, { label: "Open Logs Folder", click: async () => { @@ -183,6 +184,18 @@ const menulayout = [ }, ] : []), + ...(!process.platform === "darwin" + ? [ + { + label: "Check for Updates...", + id: "check-for-updates", + click: async () => { + await checkForUpdates(); + }, + }, + ] + : []), + ...(!process.platform === "darwin" ? [{ type: "separator" }] : []), ...(!process.platform === "darwin" ? [ { @@ -195,17 +208,6 @@ const menulayout = [ }, ] : []), - ...(!process.platform === "darwin" - ? [ - { - label: "Check for Updates...", - id: "check-for-updates", - click: async () => { - await checkForUpdates(); - }, - }, - ] - : []), ...(!process.platform === "darwin" ? [ {