Last active
June 15, 2016 03:16
-
-
Save gecko655/ba83c3b55da5215d75bde959bcc8f9ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# ./chrome_launcher.sh [user_data_dir] | |
# user_data_dirにあるユーザーデータディレクトリを使用しクロームを起動する。 | |
# user_data_dirが指定されなかった場合は、DEBUGという名前のユーザーデータディレクトリを使用する | |
USER_DATA_DIR=${1-DEBUG} | |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir="$HOME/Library/Application Support/Google/Chrome/$USER_DATA_DIR/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment