mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
codefactor improvement
This commit is contained in:
parent
2a5e3c820a
commit
2df371ca98
1 changed files with 5 additions and 3 deletions
|
@ -444,7 +444,7 @@ ipcMain.on('request-update-transmission-status', (event, arg) => {
|
||||||
chat.webContents.send('action-update-transmission-status', arg);
|
chat.webContents.send('action-update-transmission-status', arg);
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcMain.on('request-open-tnc-log', (event) => {
|
ipcMain.on('request-open-tnc-log', () => {
|
||||||
logViewer.show();
|
logViewer.show();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -780,12 +780,14 @@ ipcMain.on('request-start-rigctld',(event,data)=>{
|
||||||
|
|
||||||
console.log(data.path)
|
console.log(data.path)
|
||||||
console.log(data.parameters)
|
console.log(data.parameters)
|
||||||
|
// TODO: WE NEED SOME ERROR HANDLING
|
||||||
|
|
||||||
const rigctld = exec(data.path, data.parameters);
|
const rigctld = exec(data.path, data.parameters);
|
||||||
|
/*
|
||||||
rigctld.stdout.on("data", data => {
|
rigctld.stdout.on("data", data => {
|
||||||
console.log(`stdout: ${data}`);
|
console.log(`stdout: ${data}`);
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue