From 272a7c5e4a434ce67e718c721fcac211ee495aa8 Mon Sep 17 00:00:00 2001 From: mshe <666666666@666666666.666666666> Date: Thu, 28 May 2026 12:07:55 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E6=9B=B4=E6=96=B0=E9=A2=84?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加了 bash shebang 行 - 修改 pip 安装命令以使用腾讯云镜像源 - 保持虚拟环境创建和依赖安装流程不变 - 维持 playwright 浏览器安装步骤 --- pre_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pre_install.sh b/pre_install.sh index a814109..6f102c2 100755 --- a/pre_install.sh +++ b/pre_install.sh @@ -1,6 +1,7 @@ +#!/bin/bash apt install -y python3.12-dev python3.12-venv python3 -m venv .venv --system-site-packages source .venv/bin/activate -.venv/bin/python3.12 -m pip install -r requirements.txt +.venv/bin/pip install -r requirements.txt -i https://mirrors.cloud.tencent.com/pypi/simple/ .venv/bin/playwright install chromium .venv/bin/playwright install-deps chromium \ No newline at end of file