Commit d164bd5
authored
feat: improve
with `toIum` `mimetype: application/zip`,
`file` cli tool now detect `Zip data (MIME type "application/zip"?)` instead `Zip data (MIME type "application/zipN"?)`
MacOS still unable to unarchive produced files.
It has weird behavior with zip files containing `mimetype` uncompressed as first file entry.
```
printf 'application/zip' > mimetype
printf 'Hello World!' > file.txt
zip -0 -X zip-mimetype-X.zip mimetype file.txt
```
And macos is unable to extract this archive...
Closes: #79
Refs: https://github.com/tpoisseau/repro-zip-js-macos-issuefile cli tool support (#80)1 parent 311c198 commit d164bd5
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments