Android: Work around Android devices where the am
command doesn't work.
This commit is contained in:
parent
b325524b0f
commit
a48d340abd
8 changed files with 166 additions and 34 deletions
|
@ -116,12 +116,17 @@ run () {
|
|||
fi
|
||||
}
|
||||
|
||||
if ! prep; then
|
||||
$cmd echo "prep failed. Please report a bug."
|
||||
read line
|
||||
if $cmd test -n "$MKFIFO"; then
|
||||
# because java is insane
|
||||
$cmd mkfifo "$MKFIFO"
|
||||
else
|
||||
if ! prep; then
|
||||
$cmd echo "prep failed. Please report a bug."
|
||||
read line
|
||||
fi
|
||||
if ! install; then
|
||||
$cmd echo "install failed. Please report a bug."
|
||||
read line
|
||||
fi
|
||||
run
|
||||
fi
|
||||
if ! install; then
|
||||
$cmd echo "install failed. Please report a bug."
|
||||
read line
|
||||
fi
|
||||
run
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue