fix all sorts of zip stuff

This commit is contained in:
SpikeHD
2022-08-25 18:57:24 -07:00
parent 01fce477ef
commit defc1b43bd
4 changed files with 30 additions and 44 deletions

View File

@@ -21,6 +21,9 @@ export function unzip(
})
listen('extract_end', ({ payload }) => {
console.log(payload)
console.log(file)
// @ts-expect-error Payload is an object
if (payload?.file === file) {
resolve(payload as UnzipPayload)