From 62763ee065b447266b2ce5b3c919d6255e78ba41 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Thu, 8 Aug 2019 13:02:49 -0700 Subject: [PATCH] Small fix to winservice.js --- package.json | 2 +- winservice.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 51c36124..c12112fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.3.9-m", + "version": "0.3.9-n", "keywords": [ "Remote Management", "Intel AMT", diff --git a/winservice.js b/winservice.js index 51fb746b..ba8e7ef2 100644 --- a/winservice.js +++ b/winservice.js @@ -63,7 +63,7 @@ function start() { // This module is only called when MeshCentral is running as a Windows service. // In this case, we don't want to start a child process, so we launch directly without arguments. - require(cwd).mainStart({ "launch": true }); + require(runarg).mainStart({ "launch": true }); } catch (ex) { console.log(ex); } // Logging funtions