We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c6f31 commit 072a63aCopy full SHA for 072a63a
functions/backup_func.sh
@@ -104,10 +104,10 @@ function backup_func() {
104
mkdir -p backup-tmp/Apps
105
if [ "$backup_apps" = "yes" ]; then
106
cecho "Exporting apps."
107
- app_count=$(adb shell pm list packages -3 -f | wc -l)
+ app_count=$(adb shell pm list packages -3 -f --user 0 | wc -l)
108
apps_exported=0
109
110
- for app in $(adb shell pm list packages -3 -f)
+ for app in $(adb shell pm list packages -3 -f --user 0)
111
# -f: see their associated file
112
# -3: filter to only show third party packages
113
do
0 commit comments