mac系统运行多个chrome应用

复制一个chrome应用
1
2
cd '/Applications'
cp -r 'Google Chrome.app' 'Google Chrome Work.app'
使用脚本编辑器(Script Editor)创建一个应用程序(Application)
1
2
3
set chrome to "\"/Applications/Google Chrome Work.app/Contents/MacOS/Google Chrome\""
set userdatadir to "\"$HOME/Library/Application Support/Google/Chrome Work\""
do shell script chrome & " --user-data-dir=" & userdatadir & " > /dev/null 2>&1 &"
运行新建的脚本应用即可
更换Chrome应用图标

If you want, you can give this application the same icon as Chrome:
Select the Google Chrome application and choose File > Get Info.
Select the icon at the top left of the info dialog. You will see a blue highlight around the icon.
Press ⌘C to copy the icon.
Open the info dialog for the new application and select the icon in the top left.
Press ⌘V to paste the copied icon.