From bb4ccbf06df2065e81615f3a893ef038874e3185 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 18 Aug 2025 08:33:05 +0200 Subject: [PATCH] Update viseron-install.sh --- install/viseron-install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install/viseron-install.sh b/install/viseron-install.sh index 7253f90c..fc9aa2d7 100644 --- a/install/viseron-install.sh +++ b/install/viseron-install.sh @@ -35,6 +35,15 @@ msg_ok "Installed Dependencies" # fi # msg_ok "Hardware Acceleration Configured" +msg_info "Setting up Python Environment" +PYTHON_VERSION="3.12" setup_uv /opt/viseron +msg_ok "Python Environment Setup" + +msg_info "Installing Viseron" +RELEASE=$(curl -fsSL https://api.github.com/repos/roflcoopter/viseron/releases/latest | jq -r '.tag_name' | sed 's/^v//') +uv pip install "viseron==${RELEASE}" +msg_ok "Installed Viseron $RELEASE" + fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "tarball" "latest" "/opt/viseron" msg_info "Setting up Viseron (Patience)"