aboutsummaryrefslogtreecommitdiff
path: root/src/SocketIO/index.js
diff options
context:
space:
mode:
authorJakob Stendahl <jakobste@uio.no>2021-10-14 00:17:14 +0200
committerJakob Stendahl <jakobste@uio.no>2021-10-14 00:17:56 +0200
commit8a32f19d0c7a88bd2a71a91e10c9f21f827ed002 (patch)
tree719cedf60916e25ed58d11af20fb657581b22a29 /src/SocketIO/index.js
parent2e26cd607285bcfe1299a690efe37b30fa2c2690 (diff)
downloadLuxcena-Neo-8a32f19d0c7a88bd2a71a91e10c9f21f827ed002.tar.gz
Luxcena-Neo-8a32f19d0c7a88bd2a71a91e10c9f21f827ed002.zip
:hammer: Improve update/install script
:hammer: Fix compatability with older git :hammer: add correct tmpdir for install files, remove trap on error :hammer: Make script die :hammer: Fix typo in if statement :hammer: New attempt to fix if :hammer: yet another small fix :hammer: Improve update/install script
Diffstat (limited to 'src/SocketIO/index.js')
-rw-r--r--src/SocketIO/index.js3
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 */