From 30dbd6e27192109a754b6e5daf3529c12f0423f1 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 2 Jun 2025 15:48:48 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index f05e7152..f8172690 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -696,11 +696,9 @@ fetch_and_deploy_gh_release() { local target="${5:-/opt/$app}" # optional target dir local app_lc=$(echo "${app,,}" | tr -d ' ') - local version_file="$HOME/.${app_lc}/${app_lc}_version.txt" + local version_file="$HOME/.${app_lc}" local curl_timeout="--connect-timeout 10 --max-time 30" - mkdir -p "$(dirname "$version_file")" - local current_version="" if [[ -f "$version_file" ]]; then current_version=$(<"$version_file")