From 4a0ce8d918007a3ed39bd15c28fc1c7931080271 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Thu, 30 Dec 2021 03:55:32 +0100 Subject: added northstar version to --version --- src/cli.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/cli.js') diff --git a/src/cli.js b/src/cli.js index 6696d36..f7d2141 100644 --- a/src/cli.js +++ b/src/cli.js @@ -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") != "") { -- cgit v1.2.3