passepartout-apple/scripts/downscale-ios-icon.sh
2021-01-03 22:28:08 +01:00

8 lines
188 B
Bash
Executable File

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