Skip to content

Commit

Permalink
feat(menu): version as menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Mar 14, 2018
1 parent c6b28f0 commit e139256
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ const setApplicationMenu = () => {
if (env.name !== "production") {
menus.push(devMenuTemplate);
}
// append version as disabled menu item
menus.push({
label: app.getVersion()
})
Menu.setApplicationMenu(Menu.buildFromTemplate(menus));
};

Expand Down

0 comments on commit e139256

Please sign in to comment.