summaryrefslogtreecommitdiff
path: root/crates/wipfel/serve-here.sh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-06 09:52:26 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-11-06 09:52:26 +0100
commitd5967c1b91b14b3b4e5b0d9663e8a4d2a5e80533 (patch)
tree4ac34f1e81b73b24139ac0eafa2db72f524f2a42 /crates/wipfel/serve-here.sh
parentdbc0fd52a8497c5002e8311eb1728050a4e97c7a (diff)
wasm front end becomes the main gipfel; add desktop installers
- rename crates/wipfel -> crates/gipfel (crate, wasm artifact, dist, scripts, page titles); slogan back to "Photogrammetry for Mountain Images"; crates/wipfel-tauri -> crates/gipfel-desktop - new features in the wasm app: Save image (gipfel JPEG comment, same format as before, via browser download) and lens distortion profiles stored in localStorage in FLTK prefs format with camera auto-match on image load; profile name field, save/load and dropdown - gipfel-core: read GPSImgDirection from EXIF (magnetic -> true) as azimuth fallback; expose parse_prefs/serialize_prefs for the wasm build; ?file=/?az=/?pitch=/?roll=/?focal=/?vis= URL parameters - Tauri v2 wrapper crate building .deb, AppImage and (cross-compiled) Windows NSIS installers; safe stage-and-swap build-release.sh - README: web-centric Installation, concise Build section for the official targets (Web, Windows, Linux); drop native/Android mentions - release site moved dist/wipfel -> dist/gipfel
Diffstat (limited to 'crates/wipfel/serve-here.sh')
-rwxr-xr-xcrates/wipfel/serve-here.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/crates/wipfel/serve-here.sh b/crates/wipfel/serve-here.sh
deleted file mode 100755
index c43fbd8..0000000
--- a/crates/wipfel/serve-here.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# Build wipfel for wasm and refresh the static dist dir served from
-# /tmp/wipfel-dist (python http.server on :8090). Dev-only helper.
-set -e
-cd "$(dirname "$0")/../.."
-cargo build -p wipfel --target wasm32-unknown-unknown --release
-DIST=/tmp/wipfel-dist
-mkdir -p "$DIST"
-wasm-bindgen --target web --out-dir "$DIST" target/wasm32-unknown-unknown/release/wipfel.wasm
-cp crates/wipfel/www/index.html crates/wipfel/www/style.css crates/wipfel/www/loader.js "$DIST/"
-gzip -9 -n -c gipfel.dat > "$DIST/gipfel.dat.gz"
-echo "dist refreshed: $(ls -la "$DIST" | awk '{s+=$5} END {print s" bytes"}')"