소스 검색

added empty directory check and file creation

4nshuman 7 달 전
부모
커밋
a09dd29416
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
             });
         }
     });