forked from organicmaps/organicmaps
creating symlinks for MDPI versions of flags for sharp flags rendering.
This commit is contained in:
parent
5d498ad02b
commit
4a75594cea
2 changed files with 11 additions and 3 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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"
|
Loading…
Add table
Reference in a new issue