#!/bin/bash # Start frida_bridge.py on Mac: tunnels device->Mac for android_mcp.py's # frida_call / frida_inspect_tools, then runs the bridge in this venv # (pinned frida==17.9.10 to match the on-device frida-server version). set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" ADB="${SCRIPT_DIR}/../platform-tools/adb" "$ADB" reverse tcp:8767 tcp:8767 exec "${SCRIPT_DIR}/.venv/bin/python3" "${SCRIPT_DIR}/frida_bridge.py"