added empty directory check and file creation

This commit is contained in:
4nshuman
2024-10-06 20:25:40 +05:30
parent e992e4d5d4
commit a09dd29416
+1
View File
@@ -2205,6 +2205,7 @@ window.unzipItem = async function(itemPath) {
} else {
fileName = fileItem;
}
fileName != "" && await puter.fs.write(rootdir.path + '/' + fileItem, fileData);
});
}
});