Skip to content

Commit

Permalink
Add version to the dev menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mjacobus committed Apr 21, 2022
1 parent 39df44a commit 968a46c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ApplicationMenu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { app, Menu, screen } = require("electron");
const { Menu, screen, app } = require("electron");

class ApplicationMenu {
constructor(driver) {
Expand Down Expand Up @@ -81,6 +81,9 @@ class ApplicationMenu {
label: "Control Window",
click: () => driver.controlWindow.toggleDevTools(),
},
{
label: `Version ${app.getVersion()}`,
},
],
},
];
Expand Down

0 comments on commit 968a46c

Please sign in to comment.