Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Make a Chrome instance
mkdir -p "/Users/$USER/Applications/Google Chrome ($1).app/Contents/MacOS"
cat > "/Users/$USER/Applications/Google Chrome ($1).app/Contents/MacOS/Google Chrome ($1)" <<EOF
exec -a "Google Chrome ($1)" "/Applications/Google Chrome" \
--enable-udd-profiles \
--user-data-dir="/Users/$USER/Library/Application Support/Google/Chrome ($1)" &
chmod +x "/Users/$USER/Applications/Google Chrome ($1).app/Contents/MacOS/Google Chrome ($1)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment