Skip to content

Instantly share code, notes, and snippets.

@T-Birth
Forked from geohot/widevine.sh
Created October 30, 2021 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save T-Birth/8475e82869797d6d3fc60179d9f96356 to your computer and use it in GitHub Desktop.
Save T-Birth/8475e82869797d6d3fc60179d9f96356 to your computer and use it in GitHub Desktop.
Install widevine on Ungoogled Chromium
#!/bin/bash -e
curl -O https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg
hdiutil attach googlechrome.dmg
SRC=/Volumes/Google\ Chrome/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Libraries/WidevineCdm
DEST=/Applications/Chromium.app/Contents/Frameworks/Chromium\ Framework.framework/Libraries/
cp -R "$SRC" "$DEST"
hdiutil detach /Volumes/Google\ Chrome/
@T-Birth
Copy link
Author

T-Birth commented Oct 30, 2021

working 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment