passepartout-apple/scripts/util/downscale-ios-icon.sh

8 lines
186 B
Bash
Executable File

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