#!/bin/bash
# Install all apk in the specified directory
[ "$1" ] || {
echo "Usage: $0 /dir/path"
exit 1
}
_dir=$1
for d in $(find $_dir -maxdepth 1 -name "*.apk")
do
echo "$d"
adb install $d
done
echo "Done!"
# Install all apk in the specified directory
[ "$1" ] || {
echo "Usage: $0 /dir/path"
exit 1
}
_dir=$1
for d in $(find $_dir -maxdepth 1 -name "*.apk")
do
echo "$d"
adb install $d
done
echo "Done!"