Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# chromium-latest-linux
Scripts to download and run the latest Linux build of Chromium.

## Usage

Download and updates the latest build of Chromium

$ ./update-and-run.sh

Download a specific revision

$ export REVISION=492595
$ ./update-and-run.sh
8 changes: 6 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ cd $(dirname $0)

LASTCHANGE_URL="https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2FLAST_CHANGE?alt=media"

REVISION=$(curl -s -S $LASTCHANGE_URL)
if [ -z "$REVISION" ]; then
REVISION=$(curl -s -S $LASTCHANGE_URL)

echo "latest revision is $REVISION"
echo "latest revision is $REVISION"
else
echo "Using given revision $REVISION as latest revision"
fi

if [ -d $REVISION ] ; then
echo "already have latest version"
Expand Down