From 43084b87f325264614fb4d3e5ce32bd7c0534cbc Mon Sep 17 00:00:00 2001 From: Mohammed Abed El Hay Abu Baker <30116323+mhmdkrmabd@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:27:25 +0300 Subject: [PATCH] Fix for macOS in the initialization process (#557) --- custom_node_modules/main/pty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_node_modules/main/pty.js b/custom_node_modules/main/pty.js index 402c07b1..28e3a0a5 100755 --- a/custom_node_modules/main/pty.js +++ b/custom_node_modules/main/pty.js @@ -1349,7 +1349,7 @@ let initializeCQLSH = (window) => { process.on('data', (data) => { output += `${data}` - if ((manipulateOutput(output).match(/KEYWORD:INIT:COMPLETED/gi) || []).length >= 2) + if ((manipulateOutput(output).match(/KEYWORD:INIT:COMPLETED/gi) || []).length >= 1) window.webContents.send(`pty:cqlsh:initialize:finished`) }) }