Skip to content

Commit

Permalink
fix extract.sh error handling for adb shell
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Mar 24, 2022
1 parent b0abbd5 commit e34adec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ cd extracted-apps

for app in ${APPS[@]}; do
mkdir $app
for package in $(adb shell pm path $app); do
paths=$(adb shell pm path $app)
for package in $paths; do
adb pull ${package#package:} $app/
done
done

0 comments on commit e34adec

Please sign in to comment.