mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
12 lines
359 B
Bash
12 lines
359 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
set -x
|
||
|
|
||
|
cd /tmp
|
||
|
curl -o ./msedge_beta.pkg -k "$1"
|
||
|
# Note: there's no way to uninstall previously installed MSEdge.
|
||
|
# However, running PKG again seems to update installation.
|
||
|
sudo installer -pkg /tmp/msedge_beta.pkg -target /
|
||
|
rm -rf /tmp/msedge_beta.pkg
|
||
|
/Applications/Microsoft\ Edge\ Beta.app/Contents/MacOS/Microsoft\ Edge\ Beta --version
|