From a79cc040e812e5663aeae9a586790bc458e68dd5 Mon Sep 17 00:00:00 2001 From: 4nshuman Date: Sun, 6 Oct 2024 20:22:50 +0530 Subject: [PATCH] implemented fflate unzip operation --- src/gui/src/helpers.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/src/helpers.js b/src/gui/src/helpers.js index 60c090f6f..65e0f226a 100644 --- a/src/gui/src/helpers.js +++ b/src/gui/src/helpers.js @@ -2185,7 +2185,10 @@ window.unzipItem = async function(itemPath) { let filePath = itemPath; - let file = await blobToUint8Array(await puter.fs.read(filePath)); + let file = await blobToUint8Array(await puter.fs.read(filePath)); + terminateOp = fflate.unzip(file, async (err, unzipped) => { + + }); } window.rename_file = async(options, new_name, old_name, old_path, el_item, el_item_name, el_item_icon, el_item_name_editor, website_url, is_undo = false)=>{