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
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# chromium-latest-linux
Scripts to download and run the latest Linux build of Chromium.

## Instructions

### Running the scripts

To run the scripts, use the following commands:

```bash
./run.sh
```

### Updating and running the scripts

To update and run the scripts, use the following commands:

```bash
./update-and-run.sh
```
5 changes: 5 additions & 0 deletions run.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

BASEDIR=$(dirname $0)

if [ ! -d "$BASEDIR/latest" ]; then
echo "The 'latest' directory does not exist. Please run update.sh first."
exit 1
fi

$BASEDIR/latest/chrome --user-data-dir="$BASEDIR/user-data-dir" $* &> /dev/null &
8 changes: 7 additions & 1 deletion update.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ mkdir $REVISION
pushd $REVISION
curl -# $ZIP_URL > $ZIP_FILE
echo "unzipping.."

if ! command -v unzip &> /dev/null
then
echo "unzip command could not be found. Please install unzip and try again."
exit
fi

unzip $ZIP_FILE
popd
rm -f ./latest
ln -s $REVISION/chrome-linux/ ./latest