1
0

Desktop: add about box

This commit is contained in:
Zef Hemel 2023-01-25 13:54:55 +01:00
parent d5ca5b5f2f
commit ca8b8d9a84

View File

@ -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" },