Update jellystat.sh

This commit is contained in:
CanbiZ
2025-12-08 15:28:14 +01:00
parent 4076b7e632
commit 8d9c52f396

View File

@@ -181,9 +181,10 @@ function install() {
local JWT_SECRET local JWT_SECRET
JWT_SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | head -c32) JWT_SECRET=$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | head -c32)
msg_info "Downloading ${APP}" # Force fresh download by removing version cache and setting CLEAN_INSTALL
rm -f "$HOME/.jellystat"
mkdir -p "$INSTALL_PATH"
fetch_and_deploy_gh_release "jellystat" "CyferShepard/Jellystat" "tarball" "latest" "$INSTALL_PATH" fetch_and_deploy_gh_release "jellystat" "CyferShepard/Jellystat" "tarball" "latest" "$INSTALL_PATH"
msg_ok "Downloaded ${APP}"
msg_info "Installing dependencies" msg_info "Installing dependencies"
cd "$INSTALL_PATH" cd "$INSTALL_PATH"