From 7b5f2a0e2aac6197ace2f5fb7f0ad79891d28a00 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 25 Aug 2024 14:08:59 +0200 Subject: [PATCH 1/3] make sure the parsed timestamp is declared as UTC --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 107618d..2cf3cd0 100644 --- a/main.js +++ b/main.js @@ -229,7 +229,7 @@ WServer.on('message',async function(msg,info){ xml.parseString(msg.toString(), function (err,dat) { parsedXML=dat; }); - let qsodatum = new Date(Date.parse(parsedXML.contactinfo.timestamp[0])); + let qsodatum = new Date(Date.parse(parsedXML.contactinfo.timestamp[0]+"Z")); // Added Z to make it UTC qsodat=fmt(qsodatum); if (parsedXML.contactinfo.mode[0] == 'USB' || parsedXML.contactinfo.mode[0] == 'LSB') { // TCADIF lib is not capable of using USB/LSB parsedXML.contactinfo.mode[0]='SSB'; From 785677a9f54ec51f151b3447587e836542e6dc02 Mon Sep 17 00:00:00 2001 From: Joerg Date: Wed, 6 Nov 2024 16:06:55 +0100 Subject: [PATCH 2/3] Added lazy TLS-Check as well for CAT --- package.json | 2 +- renderer.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c77c358..ab01e36 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Gateway for connecting WSJT-* and FLRig to Wavelog", "keywords": [], "main": "./main.js", - "version": "1.0.16", + "version": "1.0.17", "author": "DJ7NT", "scripts": { "start": "electron-forge start", diff --git a/renderer.js b/renderer.js index ed6f614..909b424 100644 --- a/renderer.js +++ b/renderer.js @@ -185,6 +185,7 @@ async function informWavelog(CAT) { let data={ radio: "WLGate", key: cfg.wavelog_key, radio: cfg.wavelog_radioname, frequency: (CAT.vfo), mode: CAT.mode }; let x=await fetch(cfg.wavelog_url + '/api/radio', { method: 'POST', + rejectUnauthorized: false, headers: { Accept: 'application.json', 'Content-Type': 'application/json', From bb03856861e3ca4e5a55555a7ec9e121d1ad9750 Mon Sep 17 00:00:00 2001 From: Joerg Date: Wed, 6 Nov 2024 16:40:03 +0100 Subject: [PATCH 3/3] Added ARM (Rpi) to builders --- .github/workflows/electron.yml | 6 +++++- forge.config.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 9215675..5fb22ac 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -12,10 +12,14 @@ jobs: - uses: actions/checkout@v4 - name: install dependencies run: npm install - - name: build and publish + - name: build and publish x64 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npx electron-forge publish --platform linux --arch=x64 + - name: build and publish armhf + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: npx electron-forge publish --platform linux --arch=armv7l build_on_mac: runs-on: macos-14 diff --git a/forge.config.js b/forge.config.js index c485371..cb14c08 100644 --- a/forge.config.js +++ b/forge.config.js @@ -32,7 +32,7 @@ module.exports = { { name: '@electron-forge/maker-deb', config: { "bin":"wlgate" }, - arch: ['x86'] + arch: ['x86','armv7l'] }, ], plugins: [