Fix About dialog on Windows

This commit is contained in:
Jonatan Heyman 2023-07-11 11:24:34 +02:00
parent 9e856a9521
commit 534f4f0b9b

View File

@ -11,7 +11,7 @@ const template = [
submenu: [
{
label: 'About',
click:(menuItem, window, event) => {
click: (menuItem, window, event) => {
// open about window
openAboutWindow()
},
@ -42,7 +42,13 @@ const template = [
window?.webContents.send(OPEN_SETTINGS_EVENT)
},
},
{ role: 'about' },
{
label: 'About',
click: (menuItem, window, event) => {
// open about window
openAboutWindow()
},
},
],
}]),
/*{