TL;DR: Use (adapt) the script below to automatically generate the Amazon Underground application launcher icons.
I was toying with the idea to build an Amazon Underground version of one of my applications. According to their rules, you need to:
* Repackage your app
* Name custom permissions (Lollipop)
* Apply Amazon Underground