The installer job was waiting on a commented matrix row, USB stayed on Image Capture, face detection could not read the Windows CPU, and notarisation had nowhere to put an Apple account.
11 lines
559 B
PowerShell
11 lines
559 B
PowerShell
# WebView2 is the window engine of the Windows installer. Windows 11 already has it.
|
|
# A desktop-v tag on a Windows runner installs the evergreen runtime when this key is missing.
|
|
$ErrorActionPreference = "Stop"
|
|
$key = "HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}"
|
|
if (Test-Path $key) {
|
|
exit 0
|
|
}
|
|
$dest = Join-Path $env:TEMP "webview2-bootstrapper.exe"
|
|
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=2124703" -OutFile $dest
|
|
Start-Process $dest -ArgumentList "/silent", "/install" -Wait
|