summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium/resources/chrome-profile/bin/gwt-chrome-persistent
blob: c0b2ef1a2bbc5f5f350bd67ec6f3940527360cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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" $*