#!/bin/sh
set -e
mkdir -p "$HOME/.local/bin"
chmod +x "$PWD/bin/hero-studio"
ln -sfn "$PWD/bin/hero-studio" "$HOME/.local/bin/hero-studio"
echo "installed: hero-studio"
echo "run 'hero-studio' (serves on port 8846), then open /proxy/8846/ in a webview"
echo "refresh the sample data with ./refresh-data.sh (needs the adom-wiki CLI)"
