1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 03:38:52 +03:00

next/side sync

This commit is contained in:
Anton Afanasyeu
2026-05-26 13:14:14 +02:00
parent ac8d4ea341
commit ef36f91b82
35 changed files with 1828 additions and 16 deletions

View File

@@ -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 }')