The bundled Linux ffmpeg is dynamically linked with its shared libraries
in a sibling lib/ directory, but its RPATH is broken ("-Wl:../lib"), so it
cannot locate them. yt-dlp spawns ffmpeg as a child process, which then
fails to start and yt-dlp reports "ffprobe and ffmpeg not found", surfacing
in the UI as "Some error has occurred" on any download needing
post-processing (e.g. audio extraction to mp3).
Fix by exposing the bundled ffmpeg lib/ directory via LD_LIBRARY_PATH at
startup (inherited by the yt-dlp/ffmpeg child processes) on Linux.
Also add a "yt-dlp source" preference (Linux/Windows):
- "nightly" (default): app-managed standalone binary kept on the nightly
channel via `--update-to nightly`, so YouTube fixes arrive fastest.
- "system": use the yt-dlp found in PATH (apt/pip/brew); self-update via
`-U` is skipped since the system package manager owns it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Add download history feature
* fix: Add History to hamburger menu on all pages
* feat: Improve download history security and reliability
* fix: enhance file path security and simplify theme handling for history page
* fix: history list spacing fixed and close button color changed
* fix: code indentation fix
* fix: minor codes changes for more efficiency
* fix: add error catch for show-file
* fix: Remove duplicate app.whenReady() for download history initialization
* feat: added translation for history page