mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
codefactor improvements
This commit is contained in:
parent
871c6c1756
commit
3e52f0f0f3
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ const path = require('path');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
const spawn = require('child_process').spawn;
|
const spawn = require('child_process').spawn;
|
||||||
const exec = require('child_process').exec;
|
|
||||||
|
|
||||||
const log = require('electron-log');
|
const log = require('electron-log');
|
||||||
const mainLog = log.scope('main');
|
const mainLog = log.scope('main');
|
||||||
|
@ -876,7 +875,7 @@ ipcMain.on('request-check-rigctld',(event, data)=>{
|
||||||
win.webContents.send('action-check-rigctld', Data);
|
win.webContents.send('action-check-rigctld', Data);
|
||||||
})
|
})
|
||||||
|
|
||||||
rigctld.on('connect', function(err) {
|
rigctld.on('connect', function() {
|
||||||
Data["state"] = "connection possible - (" + data.ip + ":" + data.port + ")";
|
Data["state"] = "connection possible - (" + data.ip + ":" + data.port + ")";
|
||||||
win.webContents.send('action-check-rigctld', Data);
|
win.webContents.send('action-check-rigctld', Data);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue