mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-09 23:43:16 +00:00
added empty directory check and file creation
This commit is contained in:
1 parent
e992e4d5d4
commit
a09dd29416
1 file changed
+1
@@ -2205,6 +2205,7 @@ window.unzipItem = async function(itemPath) {
|
||||
} else {
|
||||
fileName = fileItem;
|
||||
}
|
||||
fileName != "" && await puter.fs.write(rootdir.path + '/' + fileItem, fileData);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user