Update changedetection-install.sh

V2 doesn't appear to work, so clone v1 instead.
This commit is contained in:
Jayden 2023-12-29 00:42:10 +08:00 committed by GitHub
parent 8c780535a1
commit a9b44432c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ msg_ok "Installed Change Detection"
msg_info "Installing Browserless & Playwright" msg_info "Installing Browserless & Playwright"
mkdir /opt/browserless mkdir /opt/browserless
$STD python3 -m pip install playwright $STD python3 -m pip install playwright
$STD git clone https://github.com/browserless/chrome /opt/browserless $STD git clone -b v1 https://github.com/browserless/chrome /opt/browserless
$STD npm install --prefix /opt/browserless $STD npm install --prefix /opt/browserless
$STD npm run build --prefix /opt/browserless $STD npm run build --prefix /opt/browserless
$STD npm prune production --prefix /opt/browserless $STD npm prune production --prefix /opt/browserless