aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/graphics/update-drawables.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Resources/graphics/update-drawables.sh')
-rwxr-xr-xResources/graphics/update-drawables.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/Resources/graphics/update-drawables.sh b/Resources/graphics/update-drawables.sh
index c1dfc77e6..fd41e121e 100755
--- a/Resources/graphics/update-drawables.sh
+++ b/Resources/graphics/update-drawables.sh
@@ -39,8 +39,18 @@ inkscape -w 512 -h 512 -e "$PLAY_DIR/$NAME.png" $NAME.svg
for NAME in "ic_action_nfc" "ic_action_qr_code"
do
+echo $NAME
inkscape -w 32 -h 32 -e "$MDPI_DIR/$NAME.png" $NAME.svg
inkscape -w 48 -h 48 -e "$HDPI_DIR/$NAME.png" $NAME.svg
inkscape -w 64 -h 64 -e "$XDPI_DIR/$NAME.png" $NAME.svg
inkscape -w 96 -h 96 -e "$XXDPI_DIR/$NAME.png" $NAME.svg
+done
+
+for NAME in status*.svg
+do
+echo $NAME
+inkscape -w 32 -h 32 -e "$MDPI_DIR/${NAME%%.*}.png" $NAME
+inkscape -w 48 -h 48 -e "$HDPI_DIR/${NAME%%.*}.png" $NAME
+inkscape -w 64 -h 64 -e "$XDPI_DIR/${NAME%%.*}.png" $NAME
+inkscape -w 96 -h 96 -e "$XXDPI_DIR/${NAME%%.*}.png" $NAME
done \ No newline at end of file