creating symlinks for MDPI versions of flags for sharp flags rendering.

This commit is contained in:
rachytski 2012-05-21 22:42:46 +04:00 committed by Alex Zolotarev
parent 5d498ad02b
commit 4a75594cea
2 changed files with 11 additions and 3 deletions

7
.gitignore vendored
View file

@ -84,6 +84,13 @@ android/res/drawable-xhdpi/uk_england.png
android/res/drawable-xhdpi/uk_northern_ireland.png
android/res/drawable-xhdpi/uk_scotland.png
android/res/drawable-xhdpi/uk_wales.png
android/res/drawable-mdpi/??.png
android/res/drawable-mdpi/do_hack.png
android/res/drawable-mdpi/uk_england.png
android/res/drawable-mdpi/uk_northern_ireland.png
android/res/drawable-mdpi/uk_scotland.png
android/res/drawable-mdpi/uk_wales.png
# data
data/intermediate_data

View file

@ -17,11 +17,12 @@ do
rm "$DST/drawable-xhdpi/${prefixName}.png"
ln -s "../$SRC/$filename" "$DST/drawable-xhdpi/${prefixName}.png"
#else
# rm "$DST/drawable-mdpi/$filename"
# ln -s "../$SRC/$filename" "$DST/drawable-mdpi/$filename"
else
rm "$DST/drawable-mdpi/$filename"
ln -s "../$SRC/$filename" "$DST/drawable-mdpi/$filename"
fi
done
# rename do.png because of aapt - it doesn't support resource name "do"
mv "$DST/drawable-xhdpi/do.png" "$DST/drawable-xhdpi/do_hack.png"
mv "$DST/drawable-mdpi/do.png" "$DST/drawable-mdpi/do_hack.png"