Skip to content

pwlin/cr-updater

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cr-updater

This script will download and unpack the latest Chromium snapshot build for Windows, Linux and Mac.

For Linux

You need curl and unzip installed:

sudo apt-get -y install --no-install-recommends curl unzip

Locally run:

php updater.php

You can also run this script directly from github:

curl https://raw.githubusercontent.com/pwlin/cr-updater/master/updater.php | php

Or the tinyurl of it:

curl -L https://tinyurl.com/cr-updater | php

Chromium itself needs the following shared libraries:
libxss1
libnss3
libgconf-2-4

sudo apt-get -y install --no-install-recommends libxss1 libnss3 libgconf-2-4

Note 1

If you get the following error:

error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Do:

sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.6.4 /usr/lib/libudev.so.0

Or:

sudo ln -s /lib/i386-linux-gnu/libudev.so.1.6.4 /usr/lib/libudev.so.0 (deprecated)

Note 2

Run Chromium with the following argument to disable setuid errors:

--no-sandbox (not recommended) 

Or automate the following after each install:

sudo mv chrome_sandbox chrome-sandbox
sudo chown root chrome-sandbox
sudo chmod 4755 chrome-sandbox
(then use "./chrome-wrapper" to start Chromium)

For OSX

You need curl and unzip installed:

brew install curl unzip

Locally run:

php updater.php

You can also run this script directly from github:

curl https://raw.githubusercontent.com/pwlin/cr-updater/master/updater.php | php

Or the tinyurl of it:

curl -L https://tinyurl.com/cr-updater | php

For Windows

Locally run:

win-updater.bat

You can also download official Chrome builds for Windows:

win-updater.bat --product=chrome [--channel=stable|dev|beta] [--unpack-dir=...]

About

This script will download and unpack the latest Chromium snapshot build for Windows, Linux and Mac.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published