From d962cdaa317b384b2e82d0f9dc5b9d15a5733869 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Wed, 6 Oct 2021 17:24:43 +0200 Subject: :children_crossing: Add update button to ui --- src/SocketIO/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/SocketIO/index.js') 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 */ -- cgit v1.2.3