From 976ea8fb35e7e643a57c1195a49b5f63c9b3baeb Mon Sep 17 00:00:00 2001 From: Maksim Ivanov <34414986+Ld-Hagen@users.noreply.github.com> Date: Sun, 1 Jan 2023 14:50:43 +0300 Subject: [PATCH] ffmpeg source for future releases moved New source https://github.com/Ld-Hagen/nwjs-ffmpeg-prebuilt/releases --- scripts/fix-opera.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/fix-opera.sh b/scripts/fix-opera.sh index b7e77c2..0b295b0 100755 --- a/scripts/fix-opera.sh +++ b/scripts/fix-opera.sh @@ -23,7 +23,7 @@ fi #Config section readonly FIX_WIDEVINE=true readonly TEMP_DIR='/tmp' -readonly FFMPEG_SRC_MAIN='https://api.github.com/repos/iteufel/nwjs-ffmpeg-prebuilt/releases' +readonly FFMPEG_SRC_MAIN='https://api.github.com/repos/Ld-Hagen/nwjs-ffmpeg-prebuilt/releases' readonly FFMPEG_SRC_ALT='https://api.github.com/repos/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/releases' readonly WIDEVINE_VERSIONS='https://dl.google.com/widevine-cdm/versions.txt' readonly FFMPEG_SO_NAME='libffmpeg.so' @@ -39,7 +39,7 @@ readonly OPERA_WIDEVINE_CONFIG="$OPERA_DIR/resources/widevine_config.json" #Getting download links printf 'Getting download links...\n' ##ffmpeg -#readonly FFMPEG_URL_MAIN=$(wget -q4O - $FFMPEG_SRC_MAIN | grep browser_download_url | cut -d '"' -f 4 | grep linux-x64 | head -n 1) +readonly FFMPEG_URL_MAIN=$(wget -q4O - $FFMPEG_SRC_MAIN | grep browser_download_url | cut -d '"' -f 4 | grep linux-x64 | head -n 1) readonly FFMPEG_URL_ALT=$(wget -q4O - $FFMPEG_SRC_ALT | grep browser_download_url | cut -d '"' -f 4 | grep linux-x64 | head -n 1) [[ $(basename $FFMPEG_URL_ALT) < $(basename $FFMPEG_URL_MAIN) ]] && readonly FFMPEG_URL=$FFMPEG_URL_MAIN || readonly FFMPEG_URL=$FFMPEG_URL_ALT if [[ -z $FFMPEG_URL ]]; then