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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
latest
user-data-dir
13 changes: 12 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#! /bin/bash

BASEDIR=$(dirname $0)
BASEDIR=$(dirname $(realpath $0))

export CHROME_DEVEL_SANDBOX=$BASEDIR/latest/chrome_sandbox

# Uncomment these lines to get rid of API Keys missing warning
#export GOOGLE_API_KEY="no"
#export GOOGLE_DEFAULT_CLIENT_ID="no"
#export GOOGLE_DEFAULT_CLIENT_SECRET="no"

# Use this if you want separate profile location
$BASEDIR/latest/chrome --user-data-dir="$BASEDIR/user-data-dir" $* &> /dev/null &

# Use this if you want to use standard profile location
# $BASEDIR/latest/chrome-wrapper $* &> /dev/null &
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ popd
rm -f ./latest
ln -s $REVISION/chrome-linux/ ./latest

./update_wrapper.sh
6 changes: 6 additions & 0 deletions update_wrapper.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

echo "Chrome Wrapper Update"

sudo chown root:root latest/chrome_sandbox
sudo chmod 4755 latest/chrome_sandbox