diff --git a/gui/main.js b/gui/main.js index 1bf928c6..e67b8721 100644 --- a/gui/main.js +++ b/gui/main.js @@ -20,17 +20,17 @@ if (!fs.existsSync(configFolder)) { // create config file if not exists var configContent = ` { - "tnc_host": "192.168.178.163", + "tnc_host": "127.0.0.1", "tnc_port": "3000", - "daemon_host": "192.168.178.163", + "daemon_host": "127.0.0.1", "daemon_port": "3001", "mycall": "AA0AA", "mygrid": "JN40aa", - "deviceid": "2028", - "deviceport": "/dev/ttyUSB0", + "deviceid": "RIG_MODEL_DUMMY_NOVFO", + "deviceport": "/dev/ttyACM1", "serialspeed": "9600", - "ptt": "RTS", - "spectrum": "scatter", + "ptt": "USB", + "spectrum": "waterfall", "tnclocation": "localhost" } `; @@ -86,10 +86,10 @@ var daemonProcess = null; function createWindow() { win = new BrowserWindow({ - width: 1000, + width: 1050, height: 430, autoHideMenuBar: true, - icon: __dirname + '/src/app-icon.png', + icon: __dirname + '/src/cube_round.png', webPreferences: { //preload: path.join(__dirname, 'preload-main.js'), preload: require.resolve('./preload-main.js'), diff --git a/gui/src/cube_round.png b/gui/src/cube_round.png new file mode 100644 index 00000000..c6b23789 Binary files /dev/null and b/gui/src/cube_round.png differ diff --git a/gui/src/index.html b/gui/src/index.html index f797492f..b0498d1d 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -12,7 +12,7 @@ - + FreeDATA diff --git a/tnc/daemon.py b/tnc/daemon.py index 61f08182..6fd12b9f 100755 --- a/tnc/daemon.py +++ b/tnc/daemon.py @@ -25,9 +25,11 @@ import helpers log_handler.setup_logging("daemon") +structlog.get_logger("structlog").info("[DMN] Starting FreeDATA daemon", author="DJ2LS", year="2022", version="0.1") + # get python version, which is needed later for determining installation path python_version = str(sys.version_info[0]) + "." + str(sys.version_info[1]) -structlog.get_logger("structlog").info("[DMN] Starting...", python=python_version) +structlog.get_logger("structlog").info("[DMN] Python", version=python_version) #################################################### diff --git a/tnc/main.py b/tnc/main.py index d6da7928..4112aa77 100644 --- a/tnc/main.py +++ b/tnc/main.py @@ -69,7 +69,7 @@ if __name__ == '__main__': # config logging log_handler.setup_logging("tnc") - + structlog.get_logger("structlog").info("[TNC] Starting FreeDATA", author="DJ2LS", year="2022", version="0.1") # start data handler data_handler.DATA()