Skip to content

Instantly share code, notes, and snippets.

View garno's full-sized avatar
✌️
Hi, I’m Sam!

Samuel Garneau garno

✌️
Hi, I’m Sam!
View GitHub Profile
@remi
remi / update-chromium-mac.rb
Created March 24, 2011 14:26
Running this file update /Applications/Chromium.app to the latest Chromium build.
#!/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"