You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/scripts/resize-launcher.sh

11 lines
342 B
Bash

#!/bin/bash
INPUT="$1"
FILENAME="$2"
10 years ago
RESOURCES=src/main/res
convert -resize 144x144 ${INPUT} ${RESOURCES}/drawable-xxhdpi/${FILENAME}
convert -resize 96x96 ${INPUT} ${RESOURCES}/drawable-xhdpi/${FILENAME}
convert -resize 72x72 ${INPUT} ${RESOURCES}/drawable-hdpi/${FILENAME}
convert -resize 48x48 ${INPUT} ${RESOURCES}/drawable/${FILENAME}