From 86a9767b548cb5c60e6dfe7c14dde57572d3a812 Mon Sep 17 00:00:00 2001 From: mshe <666666666@666666666.666666666> Date: Wed, 27 May 2026 15:45:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20=E4=BF=AE=E5=A4=8D=E9=A2=84?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E4=B8=AD=E7=9A=84playwrigh?= =?UTF-8?q?t=E5=91=BD=E4=BB=A4=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改pre_install.sh脚本中的playwright命令执行方式 - 将全局playwright命令替换为虚拟环境中的完整路径 - 确保在虚拟环境中正确安装playwright依赖 --- pre_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pre_install.sh b/pre_install.sh index d346ef7..9fe2ac1 100755 --- a/pre_install.sh +++ b/pre_install.sh @@ -2,5 +2,5 @@ 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 -playwright install -playwright install-deps \ No newline at end of file +.venv/bin/playwright install +.venv/bin/playwright install-deps \ No newline at end of file