6 ROOT_DIR=$(dirname $(realpath "$0"))/..
7 ART_DIR="$ROOT_DIR/art"
8 RES_DIR="$ROOT_DIR/app/src/main/res"
9 ICON_ART="$ART_DIR/app-icon.svg"
12 while read size name; do
13 mkdir -p "$RES_DIR/drawable-$name"
14 convert "$ICON_ART" -scale ${size}x${size} \
16 "$RES_DIR/drawable-$name/ic_app_icon.png"