Update tools.func

This commit is contained in:
CanbiZ 2025-07-07 19:52:25 +02:00 committed by GitHub
parent d361d23a2d
commit ce33ab61b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -950,6 +950,7 @@ function fetch_and_deploy_gh_release() {
tar --strip-components=1 -xf "$tmpdir/$filename" -C "$target"
else
tar -xf "$tmpdir/$filename" -C "$target"
fi
else
msg_error "Unsupported archive format: $filename"
rm -rf "$tmpdir"