Browse Source

added empty directory check and file creation

4nshuman 7 months ago
parent
commit
a09dd29416
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/gui/src/helpers.js

+ 1 - 0
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);
             });
         }
     });