ax / apk.sh

apk.sh makes reverse engineering Android apps easier, automating some repetitive tasks like pulling, decoding, rebuilding and patching an APK.
GNU General Public License v3.0
3.34k stars 189 forks source link

fix grep error under macOS #34

Open xfiftyone opened 8 months ago

xfiftyone commented 8 months ago

There is an error when trying to retrieve the version number of apktool on macOS because the grep command does not have the -P parameter. Using sed to handle the issue seems to work fine.

image

It can be executed normally on Ubuntu as well.

ax commented 7 months ago

How about using GNU grep?