mirror of
git://f0xx.org/android_cast
synced 2026-07-29 03:38:52 +03:00
next/side sync
This commit is contained in:
@@ -5,6 +5,8 @@ set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
RECONNECT_KNOWN_DEVICES=${RECONNECT_KNOWN_DEVICES:-no}
|
||||
|
||||
# Hints for wireless debugging. Edit as needed.
|
||||
## CONNECTIONS_LIST_HINTS[IP_WITH_UNDERLINES]="hint string"
|
||||
declare -A CONNECTIONS_LIST_HINTS
|
||||
@@ -173,7 +175,9 @@ if [[ ! -f "$APK" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
reconnect_known_devices
|
||||
if [[ "${RECONNECT_KNOWN_DEVICES}" =~ "[yY]*" ]]; then
|
||||
reconnect_known_devices
|
||||
fi
|
||||
|
||||
mapfile -t DEVICES < <(adb devices | awk 'NR > 1 && $2 == "device" { print $1 }')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user