mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
ab85826498
We require MSYS2 now Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043>
11 lines
420 B
PowerShell
11 lines
420 B
PowerShell
$ErrorActionPreference = 'Continue'
|
|
# Perform a sysupgrade on MSYS2, otherwise it will do the upgrade at a later stage
|
|
while (1) {
|
|
C:\msys64\msys2_shell.cmd -ucrt64 -defterm -here -no-start -use-full-path -lc 'pacman -Syuu --noconfirm'
|
|
if (!$?) {
|
|
Write-Host "System upgrade needed to kill MSYS2 processes or something, running it again..."
|
|
continue
|
|
}
|
|
Write-Host "MSYS2 system upgrade complete"
|
|
break
|
|
}
|