Skip to content

Commit

Permalink
feat: move version number to tray (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-stone authored Jun 13, 2019
1 parent 4ed059b commit 2ff3523
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,18 @@ app.on('ready', async () => {
submenu: [{ label: 'Loading...' }],
},
{
label: 'About',
click: app.showAboutPanel,
type: 'separator',
},
{
label: 'Quit',
click: app.exit,
click: () => app.exit(),
},
{
type: 'separator',
},
{
label: 'v' + app.getVersion(),
enabled: false,
},
]
tray.setContextMenu(Menu.buildFromTemplate(contextMenu))
Expand Down

0 comments on commit 2ff3523

Please sign in to comment.