Click here!

Cris' point of view

We can watch the same things...
...but we will never see the same thing.


May 21

Get your Chromium for Mac every day… *updated*

…or every hour, as you want.

I’m lazy. I’m testing Chromium for Mac’s snapshot, but I don’t want to download it every day/hour. So.. let’s my Mac work for me.

First: the download’s script:

—- cut here —-

#!/bin/sh

LATEST=`curl -s http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/LATEST`
ZIPURL=”http://build.chromium.org/buildbot/snapshots/chromium-rel-mac/$LATEST/chrome-mac.zip”
DEST=”/Applications/Chromium.app”
DEST_OLD=”/Applications/Chromium_old.app”

cd /tmp
/usr/bin/ftp $ZIPURL > /dev/null 2>&1
unzip chrome-mac.zip
mv $DEST/ $DEST_OLD
mv -f chrome-mac/Chromium.app $DEST \
&& rm -rf chrome-mac/ \
&& rm -rf $DEST_OLD \
&& rm -rf chrome-mac.zip

—- cut here —-

Or download the script from here.

Put the script somewhere in your home then use your /etc/crontab file to run it as you desire.

Lazy Rules!


Comments (View)

Share/Save/Bookmark
blog comments powered by Disqus
Page 1 of 1