fix chrome symlink issue for mac

This commit is contained in:
Nick Sweeting 2017-05-06 00:18:34 -04:00 committed by GitHub
parent 8b6e5e11e7
commit 19a7c2bc2f

View file

@ -18,7 +18,8 @@ Those numbers are from running it single-threaded on my i5 machine with 50mbps d
```bash
# On Mac:
brew install Caskroom/versions/google-chrome-canary wget python3
ln -s "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary" /usr/local/bin/google-chrome
echo -e "#!/bin/bash\n/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary $@" > /usr/local/bin/google-chrome
chmod +x /usr/local/bin/google-chrome
# On Linux:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'