diff options
author | 0neGal <mail@0negal.com> | 2021-12-31 15:40:32 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-31 15:40:32 +0100 |
commit | 4f798d07731668f0e850b7d348de74bf6f422de0 (patch) | |
tree | 8e530838e0bf8826f48dd570d17ca917c22e622e /src/cli.js | |
parent | c8fec42e085ef255a01f62c5010e2d41bb7eb05f (diff) | |
parent | 10c786da5be323c0b2e7042e79bcee8849e25ef4 (diff) | |
download | Viper-4f798d07731668f0e850b7d348de74bf6f422de0.tar.gz Viper-4f798d07731668f0e850b7d348de74bf6f422de0.zip |
Merge branch 'Alystrasz-feat/version-indicator'
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") != "") { |