need to connect before we run shell

This commit is contained in:
2025-12-11 21:59:52 +11:00
parent e2aeec7c07
commit aeb620b6d7

View File

@@ -3,5 +3,6 @@
nmap -p 7676 tv.ddp.net | grep 'open' > /dev/null nmap -p 7676 tv.ddp.net | grep 'open' > /dev/null
if [ x"$?" != "x0" ]; then if [ x"$?" != "x0" ]; then
adb connect tv.ddp.net
adb shell monkey -p de.cyberdream.androidtv.notifications.google -c android.intent.category.LAUNCHER 1 adb shell monkey -p de.cyberdream.androidtv.notifications.google -c android.intent.category.LAUNCHER 1
fi fi