Small fix to winservice.js

Ylian Saint-Hilaire committed Aug 8, 2019 at 13:02 UTC 791868be0cbf4960c4ff32f4ddf30f544dc6248c
2 files changed +2 -2
package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.3.9-m",
3 + "version": "0.3.9-n",
4 "keywords": [
5 "Remote Management",
6 "Intel AMT",
winservice.js
+1 -1
@@ -63,7 +63,7 @@ function start() {
63
64 // This module is only called when MeshCentral is running as a Windows service.
65 // In this case, we don't want to start a child process, so we launch directly without arguments.
66 - require(cwd).mainStart({ "launch": true });
66 + require(runarg).mainStart({ "launch": true });
67 } catch (ex) { console.log(ex); }
68
69 // Logging funtions