Fix windows OS compatibility issue

This commit is contained in:
Joseph Garrone 2024-06-14 18:59:25 +02:00
parent e98becb94b
commit bc05f1714d

View File

@ -109,7 +109,7 @@ export async function extractArchive(params: {
zipFile.on("entry", async (entry: yauzl.Entry) => {
handle_file: {
// NOTE: Skip directories
if (entry.fileName.endsWith(pathSep)) {
if (entry.fileName.endsWith("/")) {
break handle_file;
}