Explorar o código

added empty directory check and file creation

4nshuman hai 7 meses
pai
achega
a09dd29416
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
             });
         }
     });