This commit is contained in:
CanbiZ 2025-08-28 10:02:13 +02:00
parent 69d6681481
commit 3bab2781e2
2 changed files with 9 additions and 9 deletions

View File

@ -34,7 +34,7 @@ function update_script() {
systemctl stop flaresolverr
msg_ok "Stopped service"
PYTHON_VERSION="3.13"setup_uv
PYTHON_VERSION="3.13" setup_uv
msg_info "prepare uv python 3.13"
UV_PY="$(uv python find 3.13)"

View File

@ -20,14 +20,7 @@ $STD apt-get install -y \
xvfb
msg_ok "Installed Dependencies"
msg_info "Installing Chrome"
curl -fsSL "https://dl.google.com/linux/linux_signing_key.pub" | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" >/etc/apt/sources.list.d/google-chrome.list
$STD apt update
$STD apt install -y google-chrome-stable
msg_ok "Installed Chrome"
PYTHON_VERSION="3.13"setup_uv
PYTHON_VERSION="3.13" setup_uv
msg_info "prepare uv python 3.13"
UV_PY="$(uv python find 3.13)"
@ -39,6 +32,13 @@ chmod +x /usr/local/bin/python3
ln -sf "$UV_PY/bin/python3.13" /usr/local/bin/python3.13
msg_ok "prepared python 3.13"
msg_info "Installing Chrome"
curl -fsSL "https://dl.google.com/linux/linux_signing_key.pub" | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" >/etc/apt/sources.list.d/google-chrome.list
$STD apt update
$STD apt install -y google-chrome-stable
msg_ok "Installed Chrome"
fetch_and_deploy_gh_release "flaresolverr" "FlareSolverr/FlareSolverr" "prebuild" "latest" "/opt/flaresolverr" "flaresolverr_linux_x64.tar.gz"
msg_info "Creating Service"