Make a Chrome instance
#!/bin/bash | |
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 | |
#!/bin/bash | |
exec -a "Google Chrome ($1)" "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \ | |
--enable-udd-profiles \ | |
--user-data-dir="/Users/$USER/Library/Application Support/Google/Chrome ($1)" & | |
EOF | |
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