mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
919d258356
This will install latest-and-greatest chrome stable.
11 lines
382 B
Bash
Executable File
11 lines
382 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set -x
|
|
|
|
rm -rf "/Applications/Google Chrome.app"
|
|
cd /tmp
|
|
curl -o ./googlechrome.dmg -k https://dl.google.com/chrome/mac/beta/googlechrome.dmg
|
|
hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechrome.dmg ./googlechrome.dmg
|
|
cp -rf "/Volumes/googlechrome.dmg/Google Chrome.app" /Applications
|
|
hdiutil detach /Volumes/googlechrome.dmg
|