diff options
author | 0neGal <mail@0negal.com> | 2021-12-30 03:55:32 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-30 03:55:32 +0100 |
commit | 4a0ce8d918007a3ed39bd15c28fc1c7931080271 (patch) | |
tree | acb8eb7d3325cb90025c67d6165f9b22d64b6111 /src/cli.js | |
parent | 43f174fd3687367f6bfe0a62fbba5169891093d6 (diff) | |
download | Viper-4a0ce8d918007a3ed39bd15c28fc1c7931080271.tar.gz Viper-4a0ce8d918007a3ed39bd15c28fc1c7931080271.zip |
added northstar version to --version
Diffstat (limited to 'src/cli.js')
-rw-r--r-- | src/cli.js | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -39,12 +39,7 @@ async function init() { } if (cli.hasSwitch("update")) {ipcMain.emit("update")} - if (cli.hasSwitch("version")) { - console.log("Viper: v" + require("../package.json").version); - console.log("Node: " + process.version); - console.log("Electron: v" + process.versions.electron); - exit(); - } + if (cli.hasSwitch("version")) {ipcMain.emit("versioncli")} if (cli.hasSwitch("setpath")) { if (cli.getSwitchValue("setpath") != "") { |