Last active
August 29, 2015 14:09
-
-
Save mikesorae/3269be9987c99a2555cb to your computer and use it in GitHub Desktop.
apk utilityコマンドになる予定
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/bash | |
echo apk-util v0.0.1 | |
package-name() { | |
aapt dump badging $1 | grep "package: name" | sed "s/[^']*'\([^']*\)'.*/\1/" | |
} | |
uninstall() { | |
adb uninstall `package-name $1` | |
} | |
"$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need to set $PATH to your android build-tools directory