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
#!/usr/bin/env ruby | |
require "open-uri" | |
if ARGV.first | |
build_id = ARGV.first | |
else | |
build_id = open("http://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/LAST_CHANGE") { |data| data.read } | |
end | |
build_url = "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Mac/#{build_id}/chrome-mac.zip" | |
local_file_path = "/tmp/chromium-#{build_id}.zip" |
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/sh | |
## this is a quick and dirty script to automagically install the latest chromium build on OSX 10.5 | |
## you can set this up as a nightly cron job, or run manually from the command line | |
# USAGE: | |
# save script to your home directory aka /Users/$USER/ | |
# open up a command prompt (aka /Applications/Utilities/Terminal) | |
# run manually from the command line whenever you want the most recent chromium build | |
# $ sh get_latest_chromium.sh | |
# start it as a nightly task (runs at 1am or edit the plist below) |