#!/bin/bash TARGET_DIR=$(python -c "import undetected_chromedriver as uc; print(uc.__path__[0])" 2>/dev/null) if [ -d "$TARGET_DIR" ]; then echo "patcher.py в $TARGET_DIR" cp patcher.py "$TARGET_DIR" else echo "undetected_chromedriver не найден" fi pip install -r requirements.txt python initiator.py