From 82f35f791ed40aff4e7bc1970b1b644b7df78f20 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Mon, 3 Apr 2023 09:36:02 +0200 Subject: [PATCH] fix: extractZip bug introduced by last commit --- src/core/vfs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/vfs.ts b/src/core/vfs.ts index d2550ab..b86bc17 100644 --- a/src/core/vfs.ts +++ b/src/core/vfs.ts @@ -2273,7 +2273,7 @@ namespace OS { const files = []; for (const _name in zip.files) { const name = _name.trimFromRight("/"); - const file = zip.files[name]; + const file = zip.files[_name]; if (file.dir) { dirs.add(to + "/" + name); } else {