diff options
Diffstat (limited to 'src/SocketIO')
-rw-r--r-- | src/SocketIO/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SocketIO/index.js b/src/SocketIO/index.js index 1803845..ec1cedf 100644 --- a/src/SocketIO/index.js +++ b/src/SocketIO/index.js @@ -194,8 +194,7 @@ function createAuthorizedNamespace(io) { fn({success: true}); }); socket.on("system:update_version", () => { - let p = exec('luxcena-neo-cli.sh update'); - p.unref(); + neoModules.selfUpdater.doUpdate(); }); /* SSLCert */ |