Update chrome path.

This commit is contained in:
David Tomaschik
2020-09-08 23:46:05 -07:00
parent 5e372e2b35
commit e82cad68e1

10
bin/google-chrome-noroot Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
CHROME=`which google-chrome`
if [ `id -u` != "0" ] ; then
exec $CHROME "$@"
fi
CMD="${CHROME} --user-data-dir=${HOME}/.chrome-data-dir \"$@\""
su -c "${CMD}" chromeuser