Skip to content

Instantly share code, notes, and snippets.

@ucnv
Created February 7, 2010 05:03
Show Gist options
  • Save ucnv/297228 to your computer and use it in GitHub Desktop.
Save ucnv/297228 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd /Applications/Google\ Chrome.app/Contents/MacOS
if [ ! -f Chrome.bin ]; then
mv Google\ Chrome Chrome.bin
fi
echo '#!/bin/sh' > Google\ Chrome
echo '/Applications/Google\ Chrome.app/Contents/MacOS/Chrome.bin --enable-webgl --no-sandbox' >> Google\ Chrome
chmod 755 Google\ Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment