From a09dd2941677bd436078e7163d2a38ffdba5eeed Mon Sep 17 00:00:00 2001 From: 4nshuman Date: Sun, 6 Oct 2024 20:25:40 +0530 Subject: [PATCH] added empty directory check and file creation --- src/gui/src/helpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/src/helpers.js b/src/gui/src/helpers.js index f89b2b59..497c3a80 100644 --- a/src/gui/src/helpers.js +++ b/src/gui/src/helpers.js @@ -2205,6 +2205,7 @@ window.unzipItem = async function(itemPath) { } else { fileName = fileItem; } + fileName != "" && await puter.fs.write(rootdir.path + '/' + fileItem, fileData); }); } });