mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-25 07:48: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 {
|
} else {
|
||||||
fileName = fileItem;
|
fileName = fileItem;
|
||||||
}
|
}
|
||||||
|
fileName != "" && await puter.fs.write(rootdir.path + '/' + fileItem, fileData);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user