fix: proper chrome-beta channel installation on MacOS (#11973)
chrome-beta installation on MacOS should download universal binaries. The old download URL for chrome-beta was downloading Chrome Beta M96
This commit is contained in:
parent
f2773fbb3a
commit
1e1a6acaf7
|
|
@ -4,7 +4,7 @@ set -x
|
||||||
|
|
||||||
rm -rf "/Applications/Google Chrome Beta.app"
|
rm -rf "/Applications/Google Chrome Beta.app"
|
||||||
cd /tmp
|
cd /tmp
|
||||||
curl -o ./googlechromebeta.dmg -k https://dl.google.com/chrome/mac/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 -rf "/Volumes/googlechromebeta.dmg/Google Chrome Beta.app" /Applications
|
||||||
hdiutil detach /Volumes/googlechromebeta.dmg
|
hdiutil detach /Volumes/googlechromebeta.dmg
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ set -x
|
||||||
|
|
||||||
rm -rf "/Applications/Google Chrome.app"
|
rm -rf "/Applications/Google Chrome.app"
|
||||||
cd /tmp
|
cd /tmp
|
||||||
curl -o ./googlechrome.dmg -k https://dl.google.com/chrome/mac/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 -rf "/Volumes/googlechrome.dmg/Google Chrome.app" /Applications
|
||||||
hdiutil detach /Volumes/googlechrome.dmg
|
hdiutil detach /Volumes/googlechrome.dmg
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue