rbrisita / codio-sui

A media format for VS Code to record and playback the process of programming.
GNU Affero General Public License v3.0
10 stars 3 forks source link

Review Zip/Unzip #51

Closed rbrisita closed 2 years ago

rbrisita commented 3 years ago

Maybe switch out for 7zip; better compression overall.

rbrisita commented 3 years ago

This really depends on how FFmpeg is archived. #50

rbrisita commented 2 years ago

Because of the various OSes supported there are different zip/unzip programs which increases possible management of them. Either find a library that already does that for you without a large footprint or switch over to a program that is already supported on the target OSes like 7zip. Use native download program to locally install (if not globally present) and then the other dependencies will be downloaded in 7zip format.

rbrisita commented 2 years ago

Currently using: https://github.com/develar/7zip-bin

Node.js contains Zlib: https://nodejs.org/docs/latest-v13.x/api/zlib.html#zlib_zlib

rbrisita commented 2 years ago

Decided to go with tar and native zlib Brotli compression to increase portability and decrease dependencies. Check merge #168.