finished blank-chrome, tested on linux and mac, fixes #6
This commit is contained in:
parent
d4fec32cfa
commit
e46aacac45
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ function blank-chrome {
|
|||
fi
|
||||
TMPDIR=`mktemp -d /tmp/chrome-XXXXX`
|
||||
if [ $IS_MAC ]; then
|
||||
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=$TMPDIR --no-first-run --no-make-default-browser "$URL"
|
||||
/Applications/Chromium.app/Contents/MacOS/Chromium --user-data-dir=$TMPDIR --no-first-run --no-make-default-browser "$URL"
|
||||
else
|
||||
google-chrome --user-data-dir=$TMPDIR --no-first-run --no-make-default-browser "$URL"
|
||||
chromium-browser --user-data-dir=$TMPDIR --no-first-run --no-make-default-browser "$URL"
|
||||
fi
|
||||
rm -rf $TMPDIR
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue