passepartout-apple/scripts/downscale-icon.sh

8 lines
184 B
Bash
Executable File

#!/bin/sh
SIZES="120 152 167 180 76"
cd Passepartout-iOS/Assets.xcassets/AppIcon.appiconset
for S in $SIZES; do
convert -geometry "${S}x${S}" AppIcon-1024.png AppIcon-$S.png
done