Skip to content

Instantly share code, notes, and snippets.

@adammw
Created February 24, 2016 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adammw/ac165d70593251de4e60 to your computer and use it in GitHub Desktop.
Save adammw/ac165d70593251de4e60 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ "`basename "$0"`" = "google-chrome-canary" ] || [ "$1" = "--canary" ]; then
exec "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary" --no-first-run "$@"
elif [ "`basename "$0"`" = "google-chrome" ]; then
exec "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --no-first-run "$@"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment