From 7221b39759d745942904e63171ee8ae3ef46a341 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 17 Jun 2025 08:23:11 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index f9952007..60efce85 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -889,7 +889,7 @@ function fetch_and_deploy_gh_release() { } mkdir -p "$target" - tar -xzf "$tmpdir/$filename" -C "$target" + [[ $filename == *.zip ]] && unzip "$tmpdir/$filename" -d "$target" || [[ $filename == *.tar.gz ]] && tar -xzf "$tmpdir/$filename" -C "$target" elif [[ "$mode" == "singlefile" ]]; then local pattern="$6"