mirror of
https://github.com/HeyPuter/puter.git
synced 2026-07-16 03:57:09 +00:00
implemented fflate unzip operation
This commit is contained in:
@@ -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)=>{
|
||||
|
||||
Reference in New Issue
Block a user