Files
valere.dev/home/applications/android-wifi/android-wifi.sh
valere b30fbbf175
All checks were successful
Deploy valere.dev / deploy (push) Successful in 39s
androidwifi Hotspot
2026-01-09 09:57:34 +01:00

8 lines
157 B
Bash

#!/bin/sh
IP=$(ip route | grep default | awk '{print $3}')
adb tcpip 5555 >/dev/null 2>&1
adb disconnect >/dev/null 2>&1
sleep 1
adb connect $IP:5555
scrcpy