Skip to content

Commit

Permalink
Add version number to window title
Browse files Browse the repository at this point in the history
  • Loading branch information
c3er committed Sep 3, 2018
1 parent c28f3dc commit ff2d90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -192,7 +192,7 @@ electron.ipcRenderer.on("fileOpen", (event, filePath, internalTarget) => {
titlePrefix += ` ("${internalTarget}" not found)`
}
}
document.title = `${titlePrefix} - ${TITLE}`
document.title = `${titlePrefix} - ${TITLE} ${electron.remote.app.getVersion()}`

window.addEventListener("contextmenu", event => {
const MenuItem = electron.remote.MenuItem
Expand Down

0 comments on commit ff2d90d

Please sign in to comment.