(03-13-2023, 03:02 PM)CentBrowser Wrote: Agree, it is better to download directly from GitHub repository.this only applies to ffmpeg, because yt-dlp downloads exe via a direct link, and no problem, it seems to me to unpack the zip after downloading using 7zip like this
This can ensure we always get latest version.
However to do this way, we need refactor in both browser side and server side.
Another problem is that the extraction of .zip archive is not as flexible as our .exe self-extractor.
7z x -o"Path-To-Downloads-Folder*" "Path-To-Extract-File-To*.zip"
or so using powershell
Expand-Archive C:\a.zip -DestinationPath C:\a
but ffmpeg is not so necessary to update often, but yt-dlp is necessary
Also, it's better to add a check already in the paths and available from cmd yt-dlp and ffmpeg to use them if they are the latest versions