diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-12-30 22:20:20 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2013-12-30 22:20:20 +0100 |
commit | f143fc0eb9371d06be9824251962d8dbea249942 (patch) | |
tree | 03766bfb401eb7897902e286d2e272555b9bb8be /Resources/graphics/update-icon.sh | |
parent | 1be368092ef0b05244108a1071bf8adad5db91ad (diff) | |
download | open-keychain-f143fc0eb9371d06be9824251962d8dbea249942.tar.gz open-keychain-f143fc0eb9371d06be9824251962d8dbea249942.tar.bz2 open-keychain-f143fc0eb9371d06be9824251962d8dbea249942.zip |
rename resources folders, new high def icons
Diffstat (limited to 'Resources/graphics/update-icon.sh')
-rwxr-xr-x | Resources/graphics/update-icon.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Resources/graphics/update-icon.sh b/Resources/graphics/update-icon.sh new file mode 100755 index 000000000..307541f2c --- /dev/null +++ b/Resources/graphics/update-icon.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +APP_DIR=../../OpenPGP-Keychain +LDPI_DIR=$APP_DIR/res/drawable-ldpi +MDPI_DIR=$APP_DIR/res/drawable-mdpi +HDPI_DIR=$APP_DIR/res/drawable-hdpi +XDPI_DIR=$APP_DIR/res/drawable-xhdpi +XXDPI_DIR=$APP_DIR/res/drawable-xxhdpi +XXXDPI_DIR=$APP_DIR/res/drawable-xxxhdpi +PLAY_DIR=./ + + +# Launcher Icon: +# ----------------------- +# ldpi: 36x36 +# mdpi: 48x48 +# hdpi: 72x72 +# xhdpi: 96x96 +# xxhdpi: 144x144. +# xxxhdpi 192x192. +# google play: 512x512 + +NAME="icon" + +inkscape -w 36 -h 36 -e "$LDPI_DIR/$NAME.png" $NAME.svg +inkscape -w 48 -h 48 -e "$MDPI_DIR/$NAME.png" $NAME.svg +inkscape -w 72 -h 72 -e "$HDPI_DIR/$NAME.png" $NAME.svg +inkscape -w 96 -h 96 -e "$XDPI_DIR/$NAME.png" $NAME.svg +inkscape -w 144 -h 144 -e "$XXDPI_DIR/$NAME.png" $NAME.svg +inkscape -w 192 -h 192 -e "$XXXDPI_DIR/$NAME.png" $NAME.svg +inkscape -w 512 -h 512 -e "$PLAY_DIR/$NAME.png" $NAME.svg + |