Last active
September 9, 2025 20:27
-
-
Save SaeedDev94/4a37ac7fbffb0f06642584cfbff2c79b to your computer and use it in GitHub Desktop.
Chromium Protected Media Support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| rm -rf chrome-deb | |
| rm -rf /usr/lib/chromium/WidevineCdm | |
| mkdir chrome-deb | |
| mkdir -p /usr/lib/chromium/WidevineCdm/_platform_specific/linux_x64 | |
| wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| dpkg-deb -x google-chrome-stable_current_amd64.deb chrome-deb | |
| cp chrome-deb/opt/google/chrome/WidevineCdm/manifest.json /usr/lib/chromium/WidevineCdm/ | |
| cp chrome-deb/opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so /usr/lib/chromium/WidevineCdm/_platform_specific/linux_x64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment