diff --git a/deploy.sh b/deploy.sh index fa68c9a..20b0b0e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -36,6 +36,8 @@ fi # stamp the version into the deployed copy only (source stays clean) sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$SRC_DIR/index.html" > "$DEST_DIR/index.html" echo "deployed v$BUILD ($(stat -c '%s' "$DEST_DIR/index.html") bytes) -> $DEST_DIR" +sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$SRC_DIR/player.html" > "$DEST_DIR/player.html" +echo "deployed player.html ($(stat -c '%s' "$DEST_DIR/player.html") bytes)" # If real audio samples are added later (see the plan's GM-sample note), # sync that directory too. diff --git a/player.html b/player.html new file mode 100644 index 0000000..43ba547 --- /dev/null +++ b/player.html @@ -0,0 +1,470 @@ + + +
+ + +On the real unit you'd transfer this over USB / WiFi. Here, paste a patch
+ (e.g. v1;t120;kick:4;snare:4=.X.X;hatClosed:4/2), a set‑list code, or a full
+ #p=…/#sl=… share link — it's validated before loading.