refactored the wsscrcpy dockerfile

This commit is contained in:
user
2026-03-28 13:40:22 +02:00
parent acf7b28086
commit 1eb76ea122
4 changed files with 46 additions and 29 deletions

View File

@@ -0,0 +1,6 @@
runGoogTracker: true
runApplTracker: false
server:
- secure: false
port: 8000

View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
adb start-server
if [ -n "$ADB_DEVICE_HOST" ]; then
echo "Connecting to ADB device at $ADB_DEVICE_HOST:${ADB_DEVICE_PORT:-5555}"
adb connect "$ADB_DEVICE_HOST:${ADB_DEVICE_PORT:-5555}"
sleep 2
adb devices
fi
exec node index.js