aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/managers/github/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/managers/github/init.lua')
-rw-r--r--lua/mason-core/managers/github/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/mason-core/managers/github/init.lua b/lua/mason-core/managers/github/init.lua
index cf1e05f4..5f1df1ec 100644
--- a/lua/mason-core/managers/github/init.lua
+++ b/lua/mason-core/managers/github/init.lua
@@ -131,6 +131,10 @@ M.unzip_release_file = release_file_processor("archive.zip", function()
std.unzip("archive.zip", ".")
end)
+M.untarzst_release_file = release_file_processor("archive.tar.zst", function(opts)
+ std.untar("archive.tar.zst", { strip_components = opts.strip_components })
+end)
+
M.untarxz_release_file = release_file_processor("archive.tar.xz", function(opts)
std.untarxz("archive.tar.xz", { strip_components = opts.strip_components })
end)