diff options
author | Jakob Stendahl <jakobste@uio.no> | 2021-10-06 17:24:43 +0200 |
---|---|---|
committer | Jakob Stendahl <jakobste@uio.no> | 2021-10-06 17:24:43 +0200 |
commit | d962cdaa317b384b2e82d0f9dc5b9d15a5733869 (patch) | |
tree | 59a208f1a08b6234d51c5a8eaf77a09ee99e7b39 /src/SocketIO | |
parent | fd56c70ed709d770410b8f7de49dd18db5b3537e (diff) | |
download | Luxcena-Neo-d962cdaa317b384b2e82d0f9dc5b9d15a5733869.tar.gz Luxcena-Neo-d962cdaa317b384b2e82d0f9dc5b9d15a5733869.zip |
:children_crossing: Add update button to ui
Diffstat (limited to 'src/SocketIO')
-rw-r--r-- | src/SocketIO/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SocketIO/index.js b/src/SocketIO/index.js index 2a625ed..1803845 100644 --- a/src/SocketIO/index.js +++ b/src/SocketIO/index.js @@ -194,6 +194,8 @@ function createAuthorizedNamespace(io) { fn({success: true}); }); socket.on("system:update_version", () => { + let p = exec('luxcena-neo-cli.sh update'); + p.unref(); }); /* SSLCert */ |