aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2021-12-30 00:12:05 +0100
committerAlystrasz <contact@remyraes.com>2021-12-30 00:12:05 +0100
commit9df37da13c5eeba92ceeed7a5e9ffbaed976a615 (patch)
tree8b6d9d3a3e46124917f2d0313351b0e33a7bd06c /src/index.js
parent93482ac6169a62854e360fde92abf7640389361b (diff)
downloadViper-9df37da13c5eeba92ceeed7a5e9ffbaed976a615.tar.gz
Viper-9df37da13c5eeba92ceeed7a5e9ffbaed976a615.zip
[feat] displaying viper version
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index c20e8e0..56b0df4 100644
--- a/src/index.js
+++ b/src/index.js
@@ -41,7 +41,8 @@ ipcMain.on("setpathcli", (event) => {utils.setpath()});
ipcMain.on('getVersionInfo', () => {
win.webContents.send('versionInfo', {
- ns: utils.getInstalledVersion()
+ ns: utils.getInstalledVersion(),
+ vp: 'v' + require('../package.json').version
});
});