#!/usr/bin/env bash
# el-upload-inject — inject a local file into a Vue3 Element Plus el-upload, in-page
# (no system file dialog). Cross-platform: the component drives background-web-control,
# which dispatches to the per-OS transport. Runs on macOS and Linux.
set -euo pipefail

SCRIPT_DIR="$(cd -- "$(dirname -- "$0")" && pwd -P)"
ROOT_DIR="$(cd -- "$SCRIPT_DIR/.." && pwd -P)"

exec /usr/bin/env python3 "$ROOT_DIR/components/macos/browser-automation/el_upload_inject.py" "$@"
