TheTechsTech / node-unar

ESM front-end to unar and lsar. The universal un-archiver/unpacker for .zip, zipx, rar, 7z, tar, gzip, bzip2, lzma, cab, msi, cpio, xar, exe, etc...
MIT License
5 stars 6 forks source link

Sudo requirement #1

Open piotrkochan opened 3 years ago

piotrkochan commented 3 years ago

Package wants sudo to install itself

npm install

> node-unar@1.0.6 install /home/ansible_deploy/backend/node_modules/node-unar
> node installer.js

[sudo] password for theuser: 
TheTechsTech commented 3 years ago

The package needs unar binary, under Linux it will be installed using the systems package manager, on Windows or Mac it's download to users current node module directory.

I could add a check to see if unar already installed for Linux.