Tweaks, generating icons
This commit is contained in:
parent
38cf394916
commit
3757454f3a
9 changed files with 718 additions and 356 deletions
11
generate-icons.sh
Normal file
11
generate-icons.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue