mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 14:56:28 -05:00
Update Android quirks documentation
This commit is contained in:
parent
ce56a201c4
commit
e9b49e122f
@ -159,9 +159,14 @@ export BACKUP_DIR="org.retroshare.android.qml_app.backup"
|
|||||||
|
|
||||||
adb root
|
adb root
|
||||||
|
|
||||||
|
## Launch the app to make sure the parent directory exists and has proper owner
|
||||||
|
adb shell monkey -p org.retroshare.android.qml_app -c android.intent.category.LAUNCHER 1
|
||||||
|
sleep 1s
|
||||||
|
|
||||||
adb shell am force-stop org.retroshare.android.qml_app
|
adb shell am force-stop org.retroshare.android.qml_app
|
||||||
sleep 1s
|
sleep 1s
|
||||||
|
|
||||||
|
|
||||||
APP_OWNER="$(adb shell busybox ls -lnd ${ORIG_DIR} | awk '{print $3":"$4}')"
|
APP_OWNER="$(adb shell busybox ls -lnd ${ORIG_DIR} | awk '{print $3":"$4}')"
|
||||||
adb shell rm -rf ${ORIG_DIR}/files
|
adb shell rm -rf ${ORIG_DIR}/files
|
||||||
adb push ${BACKUP_DIR}/files/ ${ORIG_DIR}/files/
|
adb push ${BACKUP_DIR}/files/ ${ORIG_DIR}/files/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user