summaryrefslogtreecommitdiffstats
path: root/tools/inspect-android
diff options
context:
space:
mode:
Diffstat (limited to 'tools/inspect-android')
-rwxr-xr-xtools/inspect-android6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/inspect-android b/tools/inspect-android
index 760b0d8..981571c 100755
--- a/tools/inspect-android
+++ b/tools/inspect-android
@@ -1,12 +1,14 @@
#! /bin/bash
+PKG=ch.asynk.rustanddust.android
+
for I in cache databases files lib; do
echo " *** $I"
- adb shell run-as ch.asynk.rustanddust.android ls /data/data/ch.asynk.rustanddust.android/$I
+ adb shell run-as $PKG ls /data/data/$PKG/$I
echo
done
-adb shell run-as ch.asynk.rustanddust.android "cat /data/data/ch.asynk.rustanddust.android/databases/rustanddust.sqlite > '/sdcard/db.sqlite'"
+adb shell run-as $PKG "cat /data/data/$PKG/databases/rustanddust.sqlite > '/sdcard/db.sqlite'"
adb pull '/sdcard/db.sqlite'
adb shell "rm '/sdcard/db.sqlite'"