Skip to content

Instantly share code, notes, and snippets.

View stephankaag's full-sized avatar
🏠
Working from home

Stephan Kaag stephankaag

🏠
Working from home
View GitHub Profile
#!/usr/bin/env bash
# Update Chromium (on OS X) to the latest nightly build.
install_dir='/Applications/Chromium.app'
base_url='http://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac'
build=$(curl -s -f ${base_url}/LAST_CHANGE)
installed=$(/usr/libexec/PlistBuddy -c 'Print :SCMRevision' ${install_dir}/Contents/Info.plist)
script=$(basename $0)