homepage/generate-icons.sh
2023-12-27 08:09:07 +03:00

11 lines
290 B
Bash
Executable File

#!/bin/bash
# Run this script after logo update
cd public/
npx pwa-asset-generator logo.png . -f -w -x --opaque false --type png
npx pwa-asset-generator logo.png . -x --dark-mode --background "#333333" --splash-only
# Copy stdout to src/pages/site.webmanifest.jsx if there is new icons