Pixplicity/humpty-dumpty-android

Script does not fail gracefully when no devices are connected

thevoiceless opened this issue · 1 comments

On commit 2549b3e:

$ ./humpty.sh -d com.my.package databases/mydatabase.db
humpty.sh v1.2.0

Dumping com.my.package/databases/mydatabase.db to dumps/com.my.package/databases/mydatabase.db...
error: device not found
error: device not found
error: device not found
error: device not found
Success!
error: device not found
Could not restore file mode  on /data/data/com.my.package/databases/mydatabase.db

Partly resolved with 0d3f155 and 8765039.