Skip to content

Instantly share code, notes, and snippets.

View neelshearer's full-sized avatar

neelshearer

View GitHub Profile
@neelshearer
neelshearer / latest-widevine.sh
Last active August 13, 2018 13:45 — forked from ruario/intro-latest-widevine.md
Depending on architecture, either grabs last 32-bit Widevine from chromium or fetches Chrome and extracts out Widevine so that it can be used by Vivaldi. Also works with other Chromium-based browsers, see guide below.
#!/usr/bin/env bash
available () {
command -v $1 >/dev/null 2>&1
}
# Make sure we have wget or curl
if available wget; then
SILENT_DL="wget -qO-"
LOUD_DL="wget"