hotfix for fixing gui error

This commit is contained in:
DJ2LS 2022-11-09 08:40:32 +01:00
parent 0f6685b0e2
commit 93994610a8
3 changed files with 8 additions and 4 deletions

View file

@ -873,12 +873,16 @@ ipcMain.on('request-check-rigctld',(event, data)=>{
rigctld.on('error', function() {
Data["state"] = "unknown/stopped - (" + data.ip + ":" + data.port + ")";
win.webContents.send('action-check-rigctld', Data);
if (win !== null && win !== ''){
win.webContents.send('action-check-rigctld', Data);
}
})
rigctld.on('connect', function() {
Data["state"] = "connection possible - (" + data.ip + ":" + data.port + ")";
win.webContents.send('action-check-rigctld', Data);
if (win !== null && win !== ''){
win.webContents.send('action-check-rigctld', Data);
}
})
} catch(e) {

View file

@ -1,6 +1,6 @@
{
"name": "FreeDATA",
"version": "0.6.4-alpha.1",
"version": "0.6.4-alpha.2",
"description": "FreeDATA ",
"main": "main.js",
"scripts": {

View file

@ -11,7 +11,7 @@ Not nice, suggestions are appreciated :-)
import subprocess
from enum import Enum
VERSION = "0.6.4-alpha.1"
VERSION = "0.6.4-alpha.2"
ENABLE_EXPLORER = False