diff --git a/README.md b/README.md index f7c2fa7..2606ad9 100644 --- a/README.md +++ b/README.md @@ -73,12 +73,18 @@ ```bash # 1. 安装 NPM 依赖 pnpm install + # 2. 安装浏览器等预编译依赖 # ⚠️ 该脚本需连接 GitHub 下载资源。若网络受限,请使用代理 npm run init # 使用代理 # 直接使用 -proxy 可交互式输入代理配置 npm run init -- -proxy=http://username:passwd@host:port + + # 3. Linux 依赖安装 + # 其他发行版请前往文档中心查找或者自行搜索 + apt install -y xvfb x11vnc libgtk-3-0 libx11-xcb1 libasound2 + ``` 2. **启动服务** diff --git a/README_EN.md b/README_EN.md index bdc503a..64c864d 100644 --- a/README_EN.md +++ b/README_EN.md @@ -76,12 +76,18 @@ This project supports both **source code execution** and **Docker containerized ```bash # 1. Install NPM dependencies pnpm install + # 2. Install precompiled dependencies like the browser # ⚠️ This script requires connecting to GitHub to download resources. Use a proxy if network access is limited. npm run init # Using a proxy # Use -proxy to interactively input proxy configuration npm run init -- -proxy=http://username:passwd@host:port + + # 3. Linux Dependencies + # For other distributions, please check the documentation center or search online. + apt install -y xvfb x11vnc libgtk-3-0 libx11-xcb1 libasound2 + ``` 2. **Start Service**