diff --git a/gui/src/js/settingsHandler.ts b/gui/src/js/settingsHandler.ts index 5238cc88..cc2a4a9c 100644 --- a/gui/src/js/settingsHandler.ts +++ b/gui/src/js/settingsHandler.ts @@ -25,11 +25,11 @@ if (typeof process.env["APPDATA"] !== "undefined") { case "darwin": appDataFolder = process.env["HOME"] + "/Library/Application Support"; console.log(appDataFolder); - break; case "linux": appDataFolder = process.env["HOME"] + "/.config"; console.log(appDataFolder); + break; case "win32": appDataFolder = "undefined"; break; diff --git a/gui/src/js/sock.js b/gui/src/js/sock.js index 0b3081fb..b18c5fd8 100644 --- a/gui/src/js/sock.js +++ b/gui/src/js/sock.js @@ -852,7 +852,7 @@ export function sendBroadcastChannel(obj) { ); console.log(data.length); let payload = data; - var command = + command = '{"type" : "fec", "command" : "transmit", "mode": "datac4", "wakeup": "True", "payload" : "' + payload + '"}';