Skip to content

Commit 21c45fa

Browse files
committed
Add "about" menu to show app version
1 parent 92cab89 commit 21c45fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

menu.ts

+6
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,12 @@ export const mainMenuTemplate = (win: BrowserWindow): MenuTemplate => {
420420
{ role: 'quit' },
421421
],
422422
},
423+
{
424+
label: 'About',
425+
submenu: [
426+
{ role: 'about' },
427+
],
428+
}
423429
];
424430
};
425431
export const setApplicationMenu = (win: Electron.BrowserWindow) => {

0 commit comments

Comments
 (0)