Add now-playing view with metadata polling, six-band EQ controls, full REST coverage, companion-chip badges, and gzip-www helper for the embedded setup page. Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
342 B
Bash
Executable File
9 lines
342 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Regenerate the gzipped setup UI embedded by components/net/CMakeLists.txt.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
SRC="${ROOT}/components/net/www/index.html"
|
|
OUT="${ROOT}/components/net/www/index.html.gz"
|
|
gzip -c -9 "$SRC" > "$OUT"
|
|
echo "Wrote $(wc -c < "$OUT" | tr -d ' ') bytes -> ${OUT#"$ROOT"/}"
|