summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
blob: 37dae287b25b3a0204a9b2a2f2a0d043be8dd1fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
HERE=`dirname "$0"`
profile="$HOME/.config/gwt-chrome"
if ! [ -e "$profile" ]; then
	mkdir -p "$profile"
	cp -r "$HERE/../chrome-profile"/* "$profile"
fi
chmod -R u+w "$profile"
LD_LIBRARY_PATH="$HERE/../lib/chrome-support" \
	"$HERE"/../chrome-linux/chrome \
  --auth-server-whitelist="*cern.ch" \
	--disable-setuid-sandbox \
	--user-data-dir="$profile" $*