add dev icon burning

This commit is contained in:
Justin R. Miller
2014-11-11 16:21:07 -08:00
parent 918f590d9b
commit 0f4bd9a332
6 changed files with 24 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
<application
android:allowBackup="false"
android:icon="@drawable/icon"
android:icon="@drawable/icon_burned"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

23
update_icons.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/sh
export PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
if [[ -z `which iconoblast` ]]; then
echo "Requires https://github.com/mapbox/iconoblast!"
exit 1
fi
commit=`git rev-parse --short HEAD`
branch=`git rev-parse --abbrev-ref HEAD`
repo=`git remote show origin | grep 'Fetch URL' | sed -e 's/.*github\.com:mapbox\///' -e 's/\.git$//' -e 's/^mapbox-//'`
pwd=`pwd`
cd android/java/app/src/main/res
for folder in `find . -type d -name drawable-\* -maxdepth 1`
do
cd ${folder}
cp icon.png icon_burned.png
iconoblast icon_burned.png $commit $branch $repo
cd ..
done
cd ${pwd}