abdulsalam2121
Add automation bot with Flask and Playwright
5b29309
Raw
History Blame Contribute Delete
266 Bytes
#!/usr/bin/env bash
set -euo pipefail
# Run the bot using the venv Python. Pass through all CLI args.
if [ -f .venv/bin/activate ]; then
source .venv/bin/activate
fi
if [ -x .venv/bin/python ]; then
.venv/bin/python main.py "$@"
else
python3 main.py "$@"
fi