Created
March 17, 2011 10:34
-
-
Save michel/874137 to your computer and use it in GitHub Desktop.
Download and install latest Chromium build on OS X. For a quick install run the following command in your console: curl https://gist.github.com/raw/874137/2f045246310587f5384c9db57e62f049e89ffbc6/download_chromium.sh > download_chromium.sh; chmod +x down
This file contains 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 | |
BASEDIR=http://build.chromium.org/f/chromium/snapshots/Mac | |
mkdir -p /tmp/chromium_nightly | |
cd /tmp/chromium_nightly | |
echo "Downloading number of latest revision" | |
REVNUM=`curl -# $BASEDIR/LATEST` | |
echo "Found latest revision number $REVNUM, starting download" | |
curl $BASEDIR/$REVNUM/chrome-mac.zip > $REVNUM.zip | |
echo "Unzipping..." | |
unzip $REVNUM.zip 2>&1 > /dev/null | |
echo "Done." | |
echo "Moving to Applications directory..." | |
rm -rf /Applications/Chromium.app/ | |
mv chrome-mac/Chromium.app/ /Applications/ | |
echo "Done, update successful" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment