Badger is a bash script that takes a badge image and adds it on top of App Icons.
You can find more information about how it works in this article.
Badger requires ImageMagic
. You can install it using brew install imagemagic
.
Copy the badger.sh
to your project folder.
-
Badge icon should have:
- size of the bigest icon in the
AppIcon.appiconset
. Right now it is1024x1024
px. - transparent background.
- size of the bigest icon in the
-
Run this command in Terminal:
./badger.sh -b "/path/to/badge.png" -i "/path/to/Assets.xcassets/AppIcon.appiconset"
Badger is released under the MIT license. See LICENSE for details.