Last-Order / Minyami

A lovely video downloader for HLS videos
GNU General Public License v3.0
561 stars 37 forks source link

Use OS provided temporary directory #39

Closed nbdd0121 closed 4 years ago

nbdd0121 commented 4 years ago

Currently Minyami needs root privilege to write to the temporary directory if Minyami is installed via sudo npm install -g minyami. This PR will let it always use the OS-provided temporary directory so there won't be permission issues (and faster for users who mount a separate partition on /tmp).

Last-Order commented 4 years ago

Thank you

Last-Order commented 4 years ago

Landed in the latest version. I think this is a breaking change so I bumped the version to 3.0.0.