route CLI logs to host processes only

This commit is contained in:
Shantur Rathore
2025-11-23 13:38:50 +00:00
parent d7c0c225b9
commit 3ce5569b82
4 changed files with 2 additions and 13 deletions

View File

@@ -5,10 +5,6 @@ const electronAPI = {
ipcRenderer.on("cli:status", (_, data) => callback(data))
return () => ipcRenderer.removeAllListeners("cli:status")
},
onCliLog: (callback) => {
ipcRenderer.on("cli:log", (_, data) => callback(data))
return () => ipcRenderer.removeAllListeners("cli:log")
},
onCliError: (callback) => {
ipcRenderer.on("cli:error", (_, data) => callback(data))
return () => ipcRenderer.removeAllListeners("cli:error")