Ver Fonte

added empty directory check and file creation

4nshuman há 7 meses atrás
pai
commit
a09dd29416
1 ficheiros alterados com 1 adições e 0 exclusões
  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);
             });
         }
     });