diff options
author | 0neGal <mail@0negal.com> | 2021-12-31 15:34:56 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2021-12-31 15:34:56 +0100 |
commit | 3c948969bbd203d3e4ab4bd05ce25b4c6277094d (patch) | |
tree | 99878dddd355f262f005e17759bbf048a08d2ed3 /src/cli.js | |
parent | c8fec42e085ef255a01f62c5010e2d41bb7eb05f (diff) | |
parent | addc349189f582a1d8a833ba554f7b8df9205dd4 (diff) | |
download | Viper-3c948969bbd203d3e4ab4bd05ce25b4c6277094d.tar.gz Viper-3c948969bbd203d3e4ab4bd05ce25b4c6277094d.zip |
Merge branch 'feat/version-indicator' of https://github.com/Alystrasz/viper into 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") != "") { |