diff --git a/freedata-gui/electron/main/index.ts b/freedata-gui/electron/main/index.ts index 0b6005f6..cb941bee 100644 --- a/freedata-gui/electron/main/index.ts +++ b/freedata-gui/electron/main/index.ts @@ -112,11 +112,11 @@ app.whenReady().then(() => { //serverProcess.unref(); // Allow the server process to continue running independently of the parent process // break; case "linux": - serverPath = join(basePath, "server.dist", "freedata-server"); - console.log(`Starting server with path: ${serverPath}`); - serverProcess = spawn(serverPath, [], { detached: true }); - serverProcess.unref(); // Allow the server process to continue running independently of the parent process - break; + serverPath = join(basePath, "server.dist", "freedata-server"); + console.log(`Starting server with path: ${serverPath}`); + serverProcess = spawn(serverPath, [], { detached: true }); + serverProcess.unref(); // Allow the server process to continue running independently of the parent process + break; case "win32": serverPath = join(basePath, "freedata-server", "freedata-server.exe"); console.log(`Starting server with path: ${serverPath}`); diff --git a/freedata-gui/src/components/grid/grid_active_heard_stations_mini.vue b/freedata-gui/src/components/grid/grid_active_heard_stations_mini.vue index e3837b7e..7824bad9 100644 --- a/freedata-gui/src/components/grid/grid_active_heard_stations_mini.vue +++ b/freedata-gui/src/components/grid/grid_active_heard_stations_mini.vue @@ -34,9 +34,10 @@ function getMaidenheadDistance(dxGrid) { // } } -function pushToPing(origin) -{ - window.dispatchEvent(new CustomEvent("stationSelected", {bubbles:true, detail: origin })); +function pushToPing(origin) { + window.dispatchEvent( + new CustomEvent("stationSelected", { bubbles: true, detail: origin }), + ); }