From 6cf581c6c0f00cfc49198912fa9fa86153cf2191 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 26 May 2023 21:23:37 +0200 Subject: [PATCH 01/22] Update find-chromium.sh --- find-chromium.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/find-chromium.sh b/find-chromium.sh index 78849e5..26f72be 100755 --- a/find-chromium.sh +++ b/find-chromium.sh @@ -1,5 +1,6 @@ #!/bin/bash + # Find Chromium and its library directory if ! [ -x "$(command -v chromium)" ] && ! [ -x "$(command -v chromium-browser)" ]; then @@ -11,6 +12,20 @@ $ sudo apt install chromium or Ubuntu: $ sudo apt install chromium-browser +or +Centos Red Hat Entreprise Alma Linux or Other fork: +require enable RPM Fussion https://rpmfusion.org/Configuration +$ sudo yum -y install epel-release +$ sudo yum -y install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm +$ sudo yum -y update +$ sudo yum install chromium +or +Fedora: +require enable RPM Fussion https://rpmfusion.org/Configuration +$ sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm +$ sudo dnf -y update +$ sudo dnf install chromium + EOF exit 1 fi @@ -21,6 +36,9 @@ if [ -d /usr/lib/chromium ]; then elif [ -d /usr/lib/chromium-browser ]; then # Ubuntu CHROMIUM_DIR=/usr/lib/chromium-browser +elif [ -d /usr/lib64/chromium-browser ]; then + # Fedoara or Centos or Red Hat Entreprise or Other fork + CHROMIUM_DIR=/usr/lib64/chromium-browser elif [ -d $HOME/snap/chromium/current/.local ]; then # Snap mkdir -p $HOME/snap/chromium/current/.local/lib @@ -30,6 +48,7 @@ else Where is lib/ for chromium installed? Couldn't find it on the normal paths like: /usr/lib/chromium /usr/lib/chromium-browser +/usr/lib64/chromium-browser $HOME/snap/chromium/current/local/lib Edit ./find-chromium.sh and set CHROMIUM_DIR to that directory. @@ -38,3 +57,4 @@ EOF fi echo $CHROMIUM_DIR + From eae6c13afef93bdc3d7a00046f62f73e6c8468dd Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 26 May 2023 21:44:30 +0200 Subject: [PATCH 02/22] Update fetch-latest-widevine.sh --- fetch-latest-widevine.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/fetch-latest-widevine.sh b/fetch-latest-widevine.sh index 5d31ffe..03236f4 100755 --- a/fetch-latest-widevine.sh +++ b/fetch-latest-widevine.sh @@ -2,14 +2,7 @@ # Set ARCH variable ARCH="" -case `uname -m` in - i?86) - ARCH="ia32" - ;; - x86_64) - ARCH="x64" - ;; -esac + [[ -z ${ARCH} ]] && echo "Architecture not supported" 1>&2 && exit 1 # Detect wget/curl @@ -19,7 +12,16 @@ which curl && DLTOOL="curl -L" [[ -z ${DLTOOL} ]] && echo "No download tool found on this system" 1>&2 && exit 1 # Begin download -VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n1) +case `uname -m` in + i?86) + ARCH="ia32" + VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n8 | head -1) + ;; + x86_64) + ARCH="x64" + VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n1) + ;; +esac # Fix download argument for wget DARG=${@} [[ ${DLTOOL} == "wget -O -" ]] && DARG=`echo ${DARG} | sed 's/\-o /\-O /'` && DLTOOL="wget" From e8e28f9ff999dd1d4f7bb59ae974a36cca2c148d Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 26 May 2023 21:51:03 +0200 Subject: [PATCH 03/22] Update fetch-latest-widevine.sh --- fetch-latest-widevine.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fetch-latest-widevine.sh b/fetch-latest-widevine.sh index 03236f4..c62c289 100755 --- a/fetch-latest-widevine.sh +++ b/fetch-latest-widevine.sh @@ -1,17 +1,15 @@ #!/bin/bash -# Set ARCH variable -ARCH="" - -[[ -z ${ARCH} ]] && echo "Architecture not supported" 1>&2 && exit 1 - # Detect wget/curl DLTOOL="" which wget && DLTOOL="wget -O -" which curl && DLTOOL="curl -L" [[ -z ${DLTOOL} ]] && echo "No download tool found on this system" 1>&2 && exit 1 -# Begin download +# Set ARCH variable +ARCH="" + +[[ -z ${ARCH} ]] && echo "Architecture not supported" 1>&2 && exit 1 case `uname -m` in i?86) ARCH="ia32" @@ -22,6 +20,8 @@ case `uname -m` in VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n1) ;; esac + +# Begin download # Fix download argument for wget DARG=${@} [[ ${DLTOOL} == "wget -O -" ]] && DARG=`echo ${DARG} | sed 's/\-o /\-O /'` && DLTOOL="wget" From 3277c58289424d6360501ec8a05ca60a7a67577b Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 26 May 2023 21:52:57 +0200 Subject: [PATCH 04/22] Update fetch-latest-widevine.sh --- fetch-latest-widevine.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fetch-latest-widevine.sh b/fetch-latest-widevine.sh index c62c289..c92a731 100755 --- a/fetch-latest-widevine.sh +++ b/fetch-latest-widevine.sh @@ -8,8 +8,6 @@ which curl && DLTOOL="curl -L" # Set ARCH variable ARCH="" - -[[ -z ${ARCH} ]] && echo "Architecture not supported" 1>&2 && exit 1 case `uname -m` in i?86) ARCH="ia32" @@ -21,6 +19,7 @@ case `uname -m` in ;; esac +[[ -z ${ARCH} ]] && echo "Architecture not supported" 1>&2 && exit 1 # Begin download # Fix download argument for wget DARG=${@} From 14550bc256f4e68336de52182637e433e0324021 Mon Sep 17 00:00:00 2001 From: amidevous Date: Thu, 7 Dec 2023 12:17:56 +0100 Subject: [PATCH 05/22] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c821e10..b3e2ce0 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,16 @@ The following script symlinks Google Chrome's Widevine library to Chromium's dir Paste this into your terminal: ```bash -git clone https://github.com/proprietary/chromium-widevine.git && \ +git clone https://github.com/amidevous/chromium-widevine.git && \ + cd chromium-widevine && \ + sudo ./use-from-google-chrome.sh +``` + + +```bash +git clone https://github.com/amidevous/chromium-widevine.git && \ cd chromium-widevine && \ - ./use-from-google-chrome.sh + sudo ./use-standalone-widevine.sh ``` ## Test Widevine From b7c6e79b5e422c00f810d5fc22a98bc5a12c3ce2 Mon Sep 17 00:00:00 2001 From: amidevous Date: Thu, 7 Dec 2023 12:25:45 +0100 Subject: [PATCH 06/22] Update fetch-latest-widevine.sh --- fetch-latest-widevine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch-latest-widevine.sh b/fetch-latest-widevine.sh index c92a731..ff8e428 100755 --- a/fetch-latest-widevine.sh +++ b/fetch-latest-widevine.sh @@ -11,7 +11,7 @@ ARCH="" case `uname -m` in i?86) ARCH="ia32" - VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n8 | head -1) + VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n10 | head -1) ;; x86_64) ARCH="x64" From 7bd74992e76768a8b45ca3de0741fedc211b9a40 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:36:09 +0100 Subject: [PATCH 07/22] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index b3e2ce0..6e2e8b5 100644 --- a/README.md +++ b/README.md @@ -31,12 +31,32 @@ git clone https://github.com/amidevous/chromium-widevine.git && \ ``` +```bash +wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ + tar -xvf master.tar.gz && rm -f master.tar.gz + cd chromium-widevine-master && \ + sudo ./use-from-google-chrome.sh +``` + + ```bash git clone https://github.com/amidevous/chromium-widevine.git && \ cd chromium-widevine && \ sudo ./use-standalone-widevine.sh ``` + + +```bash +wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ + tar -xvf master.tar.gz && rm -f master.tar.gz + cd chromium-widevine-master && \ + sudo ./use-standalone-widevine.sh +``` + + + + ## Test Widevine Paste into terminal (*warning: restarts Chromium*): From 8589e21fe6d5d3e2ccc18d3c79c2dbb2d651edf7 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:44:48 +0100 Subject: [PATCH 08/22] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e2e8b5..14a47fd 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ The following script symlinks Google Chrome's Widevine library to Chromium's dir Paste this into your terminal: +For linux + ```bash git clone https://github.com/amidevous/chromium-widevine.git && \ cd chromium-widevine && \ @@ -54,7 +56,9 @@ wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.ta sudo ./use-standalone-widevine.sh ``` - +For Windows Require and use on Cygwin Terminal (https://cygwin.org) +install https://cygwin.org/setup-x86_64.exe +minimal require package add wget ## Test Widevine From c4b5418c8a948a36312a428fdac4286ec4f770d5 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:45:11 +0100 Subject: [PATCH 09/22] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 14a47fd..05f00c9 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,9 @@ wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.ta ``` For Windows Require and use on Cygwin Terminal (https://cygwin.org) + install https://cygwin.org/setup-x86_64.exe + minimal require package add wget From dd12d3d783607cb97103ecffc9307a734e97ad9b Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:46:13 +0100 Subject: [PATCH 10/22] Create find-chromium-windows.sh --- find-chromium-windows.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 find-chromium-windows.sh diff --git a/find-chromium-windows.sh b/find-chromium-windows.sh new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/find-chromium-windows.sh @@ -0,0 +1 @@ + From 4b14a9738ffab69be76d77f71b1637da611fe6ec Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:54:00 +0100 Subject: [PATCH 11/22] Update find-chromium-windows.sh --- find-chromium-windows.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/find-chromium-windows.sh b/find-chromium-windows.sh index 8b13789..e07fd01 100644 --- a/find-chromium-windows.sh +++ b/find-chromium-windows.sh @@ -1 +1,12 @@ +#!/bin/bash +if [ -d "/cygdrive/c/Program Files/chromium" ]; then + CHROMIUM_DIR="/cygdrive/c/Program Files/chromium" +elif [ -d "/cygdrive/c/Program Files/chromium-browser" ]; then + CHROMIUM_DIR="/cygdrive/c/Program Files/chromium-browser" +elif [ -d "/cygdrive/c/Program Files (x86)/chromium" ]; then + CHROMIUM_DIR="/cygdrive/c/Program Files (x86)/chromium" +elif [ -d "/cygdrive/c/Program Files (x86)/chromium-browser" ]; then + CHROMIUM_DIR="/cygdrive/c/Program Files (x86)/chromium-browser" +fi +echo $CHROMIUM_DIR From 920bc41354b3dd9988f03bacabe7c6d9d79d84e8 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:55:00 +0100 Subject: [PATCH 12/22] Create use-standalone-widevine-windows.sh --- use-standalone-widevine-windows.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 use-standalone-widevine-windows.sh diff --git a/use-standalone-widevine-windows.sh b/use-standalone-widevine-windows.sh new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/use-standalone-widevine-windows.sh @@ -0,0 +1 @@ + From d9207ffc95dec2f3fc39b9aa175da15890d71db2 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:55:34 +0100 Subject: [PATCH 13/22] Create fetch-latest-widevine-windows.sh --- fetch-latest-widevine-windows.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 fetch-latest-widevine-windows.sh diff --git a/fetch-latest-widevine-windows.sh b/fetch-latest-widevine-windows.sh new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/fetch-latest-widevine-windows.sh @@ -0,0 +1 @@ + From 432c4d1eca2cc59eafd46581d97aaa7cae1ccc1d Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 11:59:50 +0100 Subject: [PATCH 14/22] Update fetch-latest-widevine-windows.sh --- fetch-latest-widevine-windows.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/fetch-latest-widevine-windows.sh b/fetch-latest-widevine-windows.sh index 8b13789..ecb6550 100644 --- a/fetch-latest-widevine-windows.sh +++ b/fetch-latest-widevine-windows.sh @@ -1 +1,14 @@ +#!/bin/bash +# Detect wget/curl +DLTOOL="" +which wget && DLTOOL="wget -O -" +which curl && DLTOOL="curl -L" +[[ -z ${DLTOOL} ]] && echo "No download tool found on this system" 1>&2 && exit 1 +VERSION=$(${DLTOOL} https://dl.google.com/widevine-cdm/versions.txt | tail -n1) +[[ -z ${ARCH} ]] && echo "Architecture not supported" 1>&2 && exit 1 +# Begin download +# Fix download argument for wget +DARG=${@} +[[ ${DLTOOL} == "wget -O -" ]] && DARG=`echo ${DARG} | sed 's/\-o /\-O /'` && DLTOOL="wget" +${DLTOOL} ${DARG} "https://dl.google.com/widevine-cdm/${VERSION}-win-x64.zip" From 30585ce9aeb38348253a29ff0e7bd46f2f949f50 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:00:52 +0100 Subject: [PATCH 15/22] Update use-standalone-widevine-windows.sh --- use-standalone-widevine-windows.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/use-standalone-widevine-windows.sh b/use-standalone-widevine-windows.sh index 8b13789..d12ba94 100644 --- a/use-standalone-widevine-windows.sh +++ b/use-standalone-widevine-windows.sh @@ -1 +1,31 @@ +#!/bin/bash +CHROMIUM_DIR="$(/bin/sh ./find-chromium.sh)" +if [ -z "$CHROMIUM_DIR" ]; then + exit 1 +fi +# Get Widevine archive +/bin/sh ./fetch-latest-widevine.sh -o ./widevine.zip +# Expected directory structure: +# widevine.zip +# ├── LICENSE.txt +# ├── manifest.json +# └── libwidevinecdm.so + +# Extract Widevine and recreate this directory structure under the Chromium directory: +# /usr/lib/chromium/WidevineCdm +# ├── LICENSE +# ├── manifest.json +# └── _platform_specific +# └── linux_x64 +# └── libwidevinecdm.so + +sudo mkdir -p "$CHROMIUM_DIR/WidevineCdm/_platform_specific/linux_x64" +unzip -p widevine.zip LICENSE.txt | sudo dd status=none of="${CHROMIUM_DIR}/WidevineCdm/LICENSE" +unzip -p widevine.zip manifest.json | sudo dd status=none of="${CHROMIUM_DIR}/WidevineCdm/manifest.json" +unzip -p widevine.zip libwidevinecdm.so | sudo dd status=none of="${CHROMIUM_DIR}/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so" +find "$CHROMIUM_DIR/WidevineCdm" -type d -exec sudo chmod 0755 '{}' \; +find "$CHROMIUM_DIR/WidevineCdm" -type f -exec sudo chmod 0644 '{}' \; + +# clean up +rm ./widevine.zip From 2b1d37e3090b3b511139a590c115420c8345c9fc Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:10:12 +0100 Subject: [PATCH 16/22] Update use-standalone-widevine-windows.sh --- use-standalone-widevine-windows.sh | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/use-standalone-widevine-windows.sh b/use-standalone-widevine-windows.sh index d12ba94..0f40f7b 100644 --- a/use-standalone-widevine-windows.sh +++ b/use-standalone-widevine-windows.sh @@ -1,31 +1,36 @@ #!/bin/bash -CHROMIUM_DIR="$(/bin/sh ./find-chromium.sh)" +CHROMIUM_DIR="$(/bin/sh ./find-chromium-windows.sh)" if [ -z "$CHROMIUM_DIR" ]; then exit 1 fi # Get Widevine archive -/bin/sh ./fetch-latest-widevine.sh -o ./widevine.zip +/bin/sh ./fetch-latest-widevine-windows.sh -o ./widevine.zip # Expected directory structure: # widevine.zip # ├── LICENSE.txt # ├── manifest.json -# └── libwidevinecdm.so +# └── widevinecdm.dll +# └── widevinecdm.dll.sig +# └── widevinecdm.dll.lib # Extract Widevine and recreate this directory structure under the Chromium directory: # /usr/lib/chromium/WidevineCdm # ├── LICENSE # ├── manifest.json # └── _platform_specific -# └── linux_x64 -# └── libwidevinecdm.so - -sudo mkdir -p "$CHROMIUM_DIR/WidevineCdm/_platform_specific/linux_x64" -unzip -p widevine.zip LICENSE.txt | sudo dd status=none of="${CHROMIUM_DIR}/WidevineCdm/LICENSE" -unzip -p widevine.zip manifest.json | sudo dd status=none of="${CHROMIUM_DIR}/WidevineCdm/manifest.json" -unzip -p widevine.zip libwidevinecdm.so | sudo dd status=none of="${CHROMIUM_DIR}/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so" -find "$CHROMIUM_DIR/WidevineCdm" -type d -exec sudo chmod 0755 '{}' \; -find "$CHROMIUM_DIR/WidevineCdm" -type f -exec sudo chmod 0644 '{}' \; +# └── win-x64 +# └── widevinecdm.dll +# └── widevinecdm.dll.sig +# └── widevinecdm.dll.lib +mkdir -p "$CHROMIUM_DIR/WidevineCdm/_platform_specific/win-x64/" +cd "$CHROMIUM_DIR/WidevineCdm/" +unzip widevine.zip +mkdir -p "${CHROMIUM_DIR}/WidevineCdm/LICENSE/" +mv LICENSE.txt "${CHROMIUM_DIR}/WidevineCdm/LICENSE/" +mv widevinecdm.dll "$CHROMIUM_DIR/WidevineCdm/_platform_specific/win-x64/" +mv widevinecdm.dll.sig "$CHROMIUM_DIR/WidevineCdm/_platform_specific/win-x64/" +mv widevinecdm.dll.lib "$CHROMIUM_DIR/WidevineCdm/_platform_specific/win-x64/" # clean up rm ./widevine.zip From 7d450429d1664ae90ac6ff8cf15738ce590b488c Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:13:54 +0100 Subject: [PATCH 17/22] Update README.md --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05f00c9..4459cd8 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ git clone https://github.com/amidevous/chromium-widevine.git && \ ```bash wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ - tar -xvf master.tar.gz && rm -f master.tar.gz + tar -xvf master.tar.gz && rm -f master.tar.gz && \ cd chromium-widevine-master && \ sudo ./use-from-google-chrome.sh ``` @@ -51,7 +51,7 @@ git clone https://github.com/amidevous/chromium-widevine.git && \ ```bash wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ - tar -xvf master.tar.gz && rm -f master.tar.gz + tar -xvf master.tar.gz && rm -f master.tar.gz && \ cd chromium-widevine-master && \ sudo ./use-standalone-widevine.sh ``` @@ -62,6 +62,17 @@ install https://cygwin.org/setup-x86_64.exe minimal require package add wget +open Cygwin Terminal in Admin Mode Require + +enter command + +```bash +wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ + gunzip master.tar.gz && tar -xvf master.tar && rm -f master.tar && \ + cd chromium-widevine-master && \ + sudo ./use-standalone-widevine-windows.sh +``` + ## Test Widevine From 21f799ac6b3af5b4d32aa8cc25d33bc8c9bf506e Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:14:32 +0100 Subject: [PATCH 18/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4459cd8..d8602f7 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ git clone https://github.com/amidevous/chromium-widevine.git && \ wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ tar -xvf master.tar.gz && rm -f master.tar.gz && \ cd chromium-widevine-master && \ - sudo ./use-standalone-widevine.sh + ./use-standalone-widevine.sh ``` For Windows Require and use on Cygwin Terminal (https://cygwin.org) From 7cfc4fbdb35caefbdbe06ba6ccb0ad913ce05561 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:15:11 +0100 Subject: [PATCH 19/22] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8602f7..cb9b83a 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ git clone https://github.com/amidevous/chromium-widevine.git && \ wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ tar -xvf master.tar.gz && rm -f master.tar.gz && \ cd chromium-widevine-master && \ - ./use-standalone-widevine.sh + sudo ./use-standalone-widevine.sh ``` For Windows Require and use on Cygwin Terminal (https://cygwin.org) @@ -70,7 +70,7 @@ enter command wget https://github.com/amidevous/chromium-widevine/archive/refs/heads/master.tar.gz -O master.tar.gz && \ gunzip master.tar.gz && tar -xvf master.tar && rm -f master.tar && \ cd chromium-widevine-master && \ - sudo ./use-standalone-widevine-windows.sh + ./use-standalone-widevine-windows.sh ``` From 4c7de08043906b6db6606f26c696437371f98a9d Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:16:35 +0100 Subject: [PATCH 20/22] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb9b83a..c1afe16 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ For Windows Require and use on Cygwin Terminal (https://cygwin.org) install https://cygwin.org/setup-x86_64.exe -minimal require package add wget +minimal require package add wget, gzip, tar open Cygwin Terminal in Admin Mode Require From d2de0611626428648943e4708013fb2237d1b406 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 8 Dec 2023 12:19:31 +0100 Subject: [PATCH 21/22] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1afe16..8bb94ce 100644 --- a/README.md +++ b/README.md @@ -105,9 +105,9 @@ killall -q -SIGTERM chromium-browser || \ Paste this into your shell: ```bash -git clone https://github.com/proprietary/chromium-widevine.git && \ +rm -rf chromium-widevine && git clone https://github.com/amidevous/chromium-widevine.git && \ cd chromium-widevine && \ - ./use-standalone-widevine.sh && \ + sudo ./use-standalone-widevine.sh && \ killall -q -SIGTERM chromium-browser || \ killall -q -SIGTERM chromium && \ exec $(command -v chromium-browser || command -v chromium) ./test-widevine.html & From a82d14b1b36af714bcef0c92eea70b51aae67c89 Mon Sep 17 00:00:00 2001 From: amidevous Date: Fri, 9 Feb 2024 12:42:03 +0100 Subject: [PATCH 22/22] Update use-standalone-widevine.sh --- use-standalone-widevine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/use-standalone-widevine.sh b/use-standalone-widevine.sh index 1503ed8..cc13e0f 100755 --- a/use-standalone-widevine.sh +++ b/use-standalone-widevine.sh @@ -7,7 +7,7 @@ if [ -z "$CHROMIUM_DIR" ]; then fi # Get Widevine archive -/bin/sh ./fetch-latest-widevine.sh -o ./widevine.zip +./fetch-latest-widevine.sh -o ./widevine.zip # Expected directory structure: # widevine.zip # ├── LICENSE.txt