mirror of
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine.git
synced 2026-07-11 23:37:27 +03:00
1.4 KiB
1.4 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Added
- version-aware ffmpeg selection: detect Opera's bundled Chromium version and download the matching nwjs-ffmpeg release instead of always using the latest
- per-variant Chromium detection via binary inspection (
get_chromium_major) - ffmpeg download caching: skip re-download when multiple Opera variants share the same Chromium version
Changed
- universal shebang bash interpreter to safely find bash on
$PATH - Widevine CDM is now downloaded once before the main loop instead of redundantly per variant
- release data is fetched once upfront (
?per_page=50) and reused for version matching
Removed
Fixed
- in the preflight check: Prefer our user-friendly error messages while avoiding double error message from the operating system by redirecting also
stderrto/dev/null - potential runtime error: prefer
command -voverwhich-command, which can have different behaviour on different Linux distributions and always use the first result inPATHindependently of multiple defined commands greperror whenCDM_FLAGstarts with--by adding explicit end-of-options separator (grep -qF -- "$CDM_FLAG")