mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 23:38:40 +08:00
added empty directory check and file creation
This commit is contained in:
parent
e992e4d5d4
commit
a09dd29416
@ -2205,6 +2205,7 @@ window.unzipItem = async function(itemPath) {
|
||||
} else {
|
||||
fileName = fileItem;
|
||||
}
|
||||
fileName != "" && await puter.fs.write(rootdir.path + '/' + fileItem, fileData);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user