diff --git a/build.sh b/build.sh index bb2c5c6..d42129c 100755 --- a/build.sh +++ b/build.sh @@ -46,7 +46,7 @@ def build(name): out.write_text(src) return out.stat().st_size -for name in ("index.html","editor.html","editor-beta.html","pm_e-2.html","player.html","mobile.html","teacher.html","stage.html","micro.html","showcase.html","kit.html","explorer.html","grid.html", +for name in ("index.html","editor.html","editor-beta.html","pm_e-2.html","player.html","mobile.html","mobile-sessions.html","teacher.html","stage.html","micro.html","showcase.html","kit.html","explorer.html","grid.html", "embed.html", "info-editor.html","info-pm_e-2.html","info-player.html","info-teacher.html","info-stage.html","info-micro.html","info-showcase.html","info-kit.html","info-explorer.html","info-grid.html"): print("built %s (%dKB)" % (name, build(name) // 1024)) diff --git a/deploy.sh b/deploy.sh index 5ad06d4..192f547 100755 --- a/deploy.sh +++ b/deploy.sh @@ -40,7 +40,7 @@ fi # stamp the version into the built copy only (source stays clean) echo "deployed v$BUILD -> $DEST_DIR" -for f in index.html editor.html editor-beta.html pm_e-2.html player.html mobile.html teacher.html stage.html micro.html showcase.html kit.html explorer.html grid.html \ +for f in index.html editor.html editor-beta.html pm_e-2.html player.html mobile.html mobile-sessions.html teacher.html stage.html micro.html showcase.html kit.html explorer.html grid.html \ embed.html \ info-editor.html info-pm_e-2.html info-player.html info-teacher.html info-stage.html info-micro.html info-showcase.html info-kit.html info-explorer.html info-grid.html; do sed "s|const APP_VERSION = \"[^\"]*\";|const APP_VERSION = \"$BUILD\";|" "$DIST_DIR/$f" > "$DEST_DIR/$f" diff --git a/manifest.webmanifest b/manifest.webmanifest index 103f2a4..be658a3 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -4,7 +4,7 @@ "description": "Polymetric groove-trainer & metronome — touch-first, full-screen.", "id": "/mobile.html", "start_url": "/mobile.html?standalone=1", - "scope": "/mobile.html", + "scope": "/mobile", "display": "standalone", "display_override": ["standalone", "fullscreen"], "orientation": "any", diff --git a/mobile-sessions.html b/mobile-sessions.html new file mode 100644 index 0000000..0a0fe00 --- /dev/null +++ b/mobile-sessions.html @@ -0,0 +1,144 @@ + + +
+ + +