Open st-sloth opened 6 years ago
@st-sloth my bad..
We could probably add more supports, like https://github.com/uiureo/node-screencapture/pull/7/files
Dunno, I don't think depending on external tools will ever be safe anyway. https://www.npmjs.com/package/extract-zip seem to manage with just JS.
@st-sloth yeah that would have both pros and cons.
I had been using tools implemented in pure JS before, but there would be problems like performance, so this library would be an alternative from them.
Code in this project relies on the notion that if the system is not Windows, then it has CLI command
unzip
available. However some systems, like Manjaro Linux, don't come withunzip
already installed. Socross-unzip
just fails withspawn unzip ENOENT
.