Skip to content

Instantly share code, notes, and snippets.

@mrinterweb
Created December 30, 2010 23:20
Show Gist options
  • Save mrinterweb/760474 to your computer and use it in GitHub Desktop.
Save mrinterweb/760474 to your computer and use it in GitHub Desktop.
This is a script to update chromium to the nightly build for mac
#!/bin/bash
TMP_DIR=/tmp/chromedownload
BASE_URL=http://build.chromium.org/f/chromium/snapshots/chromium-rel-mac
rm -rf $TMP_DIR
mkdir $TMP_DIR
cd $TMP_DIR
curl $BASE_URL/LATEST -o $TMP_DIR/LATEST --silent && LATEST=`cat $TMP_DIR/LATEST`
echo "Latest build # $LATEST"
echo "downloading from: $BASE_URL/$LATEST/chrome-mac.zip"
curl $BASE_URL/$LATEST/chrome-mac.zip -o $TMP_DIR/chrome-mac.zip
unzip -qq $TMP_DIR/chrome-mac.zip
rm -rf /Application/Chromium.app
cp -R $TMP_DIR/chrome-mac/Chromium.app /Applications
rm -rf $TMP_DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment