#!/usr/bin/env bash # Generates PNG icons from icon.svg using rsvg-convert. # Run whenever icon.svg changes: bash generate-icons.sh set -euo pipefail cd "$(dirname "$0")" rsvg-convert -w 192 -h 192 icon.svg -o icon-192.png rsvg-convert -w 512 -h 512 icon.svg -o icon-512.png echo "Generated icon-192.png and icon-512.png"