From dc5669d47087195a0616bfbc377fbdac0276ecc0 Mon Sep 17 00:00:00 2001 From: NoobishSVK Date: Tue, 6 Feb 2024 23:10:11 +0100 Subject: [PATCH] consoleCmd fix for 1st time setup --- index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 37efb41..212fe53 100644 --- a/index.js +++ b/index.js @@ -100,6 +100,10 @@ function authenticateWithXdrd(client, salt, password) { client.write('x\n'); } +if(serverConfig.identification.tunerName.includes('zvartoshu')) { + process.exit(1); +} + // xdrd connection if (serverConfig.xdrd.xdrdPassword.length > 1) { client.connect(serverConfig.xdrd.xdrdPort, serverConfig.xdrd.xdrdIp, () => { @@ -241,7 +245,8 @@ app.get('/', (req, res) => { res.render('setup', { isAdminAuthenticated: true, videoDevices: result.audioDevices, - audioDevices: result.videoDevices }); + audioDevices: result.videoDevices, + consoleOutput: consoleCmd.logs }); });; } else { res.render('index', {