mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 05:37:20 +03:00
14 lines
535 B
Bash
Executable File
14 lines
535 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set -x
|
|
|
|
rm -rf "/Applications/Google Chrome Beta.app"
|
|
cd /tmp
|
|
curl -o ./googlechromebeta.dmg -k https://dl.google.com/chrome/mac/beta/googlechromebeta.dmg
|
|
hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechromebeta.dmg ./googlechromebeta.dmg
|
|
cp -rf "/Volumes/googlechromebeta.dmg/Google Chrome Beta.app" /Applications
|
|
hdiutil detach /Volumes/googlechromebeta.dmg
|
|
rm -rf /tmp/googlechromebeta.dmg
|
|
|
|
/Applications/Google\ Chrome\ Beta.app/Contents/MacOS/Google\ Chrome\ Beta --version
|