cryptpad/scripts/convert-favicons-to-ico.sh

6 lines
175 B
Bash
Executable File

#!/bin/sh
for f in ../customize.dist/favicon/*.png; do
base="$(basename $f ".png")"
magick convert $f -define icon:auto-resize=16,24,32,48,64,72,96,128,256 "$base.ico"
done