@@ -15,7 +15,7 @@ pip install -r requirements.txt
# 检查Playwright浏览器
echo "🔍 检查浏览器..."
-python3 -c "from cookie_generator import check_playwright_browser; exit(0 if check_playwright_browser() else 1)"
+python3 -c "from cookie_generator import check_environment; exit(0 if check_playwright_browser() else 1)"
if [ $? -ne 0 ]; then
echo "🔄 安装 Playwright 浏览器..."