#!/usr/bin/env bash
# Shots of the WinZik player with each skin (from anywhere: it goes to the repository root).
cd "$(dirname "$0")/../../../.." || exit 1
for s in givre aurore corail menthe ambre sakura neon-84 bois-laiton phosphore carbone classique ampli-2000 chaine-hifi the-skin base win48; do
  JUMPHP_SCENE='App\Form\MainForm' JUMPHP_SCENE_PARAMS="{\"demo\":true,\"fresh\":true,\"seek\":25,\"skin\":\"$s\"}" \
    bin/jumphp shot winzik 150 "var/screenshots/site-src/skin-$s.png" >/dev/null 2>&1 || echo "fail $s"
done
ls apps/winzik/var/screenshots/site-src/
