Initial commit: environment config and automation scripts

This commit is contained in:
seay
2026-04-17 15:06:30 +08:00
commit fc8f14b301
7 changed files with 559 additions and 0 deletions

19
browser_login/run.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# ============================================================
# ERP 自动化登录启动脚本
# ============================================================
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VENV="$SCRIPT_DIR/../venv"
# 激活虚拟环境
source "$VENV/bin/activate"
echo "===== 依赖检查 ====="
pip install -q DrissionPage python-dotenv
echo "===== 启动登录脚本 ====="
cd "$SCRIPT_DIR"
python login.py