Make test Frida setup work on older Android versions

This commit is contained in:
Tim Perry
2025-07-08 16:12:51 +02:00
parent 688deefd65
commit f884bfdace
+1 -1
View File
@@ -28,7 +28,7 @@ FRIDA_SERVER_URL="https://github.com/frida/frida/releases/download/${FRIDA_VERSI
FRIDA_SERVER_LOCAL="/tmp/frida-server"
FRIDA_SERVER_REMOTE="/data/local/tmp/frida-server"
if ! adb shell pgrep -f frida-server > /dev/null; then
if ! adb shell "ps -A | grep '[f]rida-server'" > /dev/null; then
if [ ! -f $FRIDA_SERVER_LOCAL ]; then
wget -q $FRIDA_SERVER_URL -O /tmp/frida-server.xz
unxz -f /tmp/frida-server.xz