Add "about" menu to show app version

This commit is contained in:
TC
2023-10-13 22:04:50 +02:00
parent 92cab89d17
commit 21c45faf20

View File

@ -420,6 +420,12 @@ export const mainMenuTemplate = (win: BrowserWindow): MenuTemplate => {
{ role: 'quit' },
],
},
{
label: 'About',
submenu: [
{ role: 'about' },
],
}
];
};
export const setApplicationMenu = (win: Electron.BrowserWindow) => {