mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix: Google Chrome Beta/Stable install on macOS (#27880)
This commit is contained in:
parent
08b8181632
commit
38a0921845
@ -6,7 +6,7 @@ rm -rf "/Applications/Google Chrome Beta.app"
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
curl -o ./googlechromebeta.dmg -k https://dl.google.com/chrome/mac/universal/beta/googlechromebeta.dmg
|
curl -o ./googlechromebeta.dmg -k https://dl.google.com/chrome/mac/universal/beta/googlechromebeta.dmg
|
||||||
hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechromebeta.dmg ./googlechromebeta.dmg
|
hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechromebeta.dmg ./googlechromebeta.dmg
|
||||||
cp -rf "/Volumes/googlechromebeta.dmg/Google Chrome Beta.app" /Applications
|
cp -pR "/Volumes/googlechromebeta.dmg/Google Chrome Beta.app" /Applications
|
||||||
hdiutil detach /Volumes/googlechromebeta.dmg
|
hdiutil detach /Volumes/googlechromebeta.dmg
|
||||||
rm -rf /tmp/googlechromebeta.dmg
|
rm -rf /tmp/googlechromebeta.dmg
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ rm -rf "/Applications/Google Chrome.app"
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
curl -o ./googlechrome.dmg -k https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg
|
curl -o ./googlechrome.dmg -k https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg
|
||||||
hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechrome.dmg ./googlechrome.dmg
|
hdiutil attach -nobrowse -quiet -noautofsck -noautoopen -mountpoint /Volumes/googlechrome.dmg ./googlechrome.dmg
|
||||||
cp -rf "/Volumes/googlechrome.dmg/Google Chrome.app" /Applications
|
cp -pR "/Volumes/googlechrome.dmg/Google Chrome.app" /Applications
|
||||||
hdiutil detach /Volumes/googlechrome.dmg
|
hdiutil detach /Volumes/googlechrome.dmg
|
||||||
rm -rf /tmp/googlechrome.dmg
|
rm -rf /tmp/googlechrome.dmg
|
||||||
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
|
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user