- mkdir -p "$RES_DIR/drawable-$name"
- convert -background none "$ICON_ART" -scale ${size}x${size} \
- -antialias -strip \
- "$RES_DIR/drawable-$name/ic_app_icon.png"
+ DST_DIR="$RES_DIR/mipmap-$name"
+ mkdir -p "$DST_DIR"
+ DST="$DST_DIR/ic_launcher.png"
+ rsvg-convert --background-color none "$ICON_ART" -w $size -h $size \
+ -o "$DST"
+ optipng "$DST"