From ca8b8d9a84d8a88445417ae1c2d0efb5e477c24e Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Wed, 25 Jan 2023 13:54:55 +0100 Subject: [PATCH] Desktop: add about box --- desktop/src/menu.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/desktop/src/menu.ts b/desktop/src/menu.ts index 470472b1..55e61c04 100644 --- a/desktop/src/menu.ts +++ b/desktop/src/menu.ts @@ -35,7 +35,7 @@ const template: MenuItemConstructorOptions[] = [ }, ], } - : {type: "separator"}, + : { type: "separator" }, { type: "separator" }, { label: "Quit", @@ -162,6 +162,14 @@ const template: MenuItemConstructorOptions[] = [ }, ], }, + { + label: "Help", + submenu: [ + { + role: "about", + }, + ], + }, ]; if (process.platform === "darwin") { @@ -169,6 +177,7 @@ if (process.platform === "darwin") { template.unshift({ label: name, submenu: [ + { role: "about" }, { role: "services" }, { type: "separator" }, { role: "hide" },