added update script and better plane icon clicking

This commit is contained in:
2026-07-06 12:50:39 -04:00
parent f3ca75decb
commit 7ed3a43a53
2 changed files with 8 additions and 1 deletions

View File

@@ -1259,7 +1259,7 @@ function toSvg(shape, fillColor, strokeColor, strokeWidth, scale) {
+ '<g' + (shape.transform ? (' transform="' + shape.transform + '"') : '') + '>' + '<g' + (shape.transform ? (' transform="' + shape.transform + '"') : '') + '>'
+ '<rect x="' + shape.viewBox.split(' ')[0] + '" y="' + shape.viewBox.split(' ')[1] + '<rect x="' + shape.viewBox.split(' ')[0] + '" y="' + shape.viewBox.split(' ')[1]
+ '" width="' + shape.viewBox.split(' ')[2] + '" height="' + shape.viewBox.split(' ')[3] + '" width="' + shape.viewBox.split(' ')[2] + '" height="' + shape.viewBox.split(' ')[3]
+ '" fill="transparent" stroke="none"/>'; + '" fill="#ffffff01" stroke="none"/>';
if (shape.path) { if (shape.path) {
let path = shape.path; let path = shape.path;

7
update.sh Executable file
View File

@@ -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