Skip to content

Instantly share code, notes, and snippets.

@geohot
Created December 8, 2019 19:28
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save geohot/dca1b55e054bcdc63c5e3707a109e29d to your computer and use it in GitHub Desktop.
Save geohot/dca1b55e054bcdc63c5e3707a109e29d 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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment