From 7ed3a43a536a334fb6f6ffdc266c2de1b97a5fb9 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 6 Jul 2026 12:50:39 -0400 Subject: [PATCH] added update script and better plane icon clicking --- server/src/adsb-shapes.mjs | 2 +- update.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 update.sh diff --git a/server/src/adsb-shapes.mjs b/server/src/adsb-shapes.mjs index 8a1b8c0..6942877 100644 --- a/server/src/adsb-shapes.mjs +++ b/server/src/adsb-shapes.mjs @@ -1259,7 +1259,7 @@ function toSvg(shape, fillColor, strokeColor, strokeWidth, scale) { + '' + ''; + + '" fill="#ffffff01" stroke="none"/>'; if (shape.path) { let path = shape.path; diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..f7ad076 --- /dev/null +++ b/update.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +git pull +cd client && npm i && npx vite build +cd ../server && npm i +sudo systemctl restart weather-sensors +sudo systemctl restart weather-station