Created
February 14, 2017 08:52
-
-
Save kamikat/f6b39fa9d82e379a9ecc8e675b17f47f to your computer and use it in GitHub Desktop.
Extracting application icon from APK file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| GENERATOR="/^application-icon-(\\d+):(.*)/ && print \"unzip -o $1 \$2 && mv \$2 $(basename $1 .apk)-\$1.png\n\"" | |
| aapt d --values badging $1 | perl -n -e"$GENERATOR" | sh | |
| rm -rf res/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Could you please add adaptive icons support ?
Thanks