windows update before winget

This commit is contained in:
Mylloon 2022-12-16 12:48:32 +01:00
parent 51245e0bb1
commit 2c2fc64f3a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -8,12 +8,12 @@ fltmc >nul 2>&1 || (
exit 0
)
:: Windows programs
winget upgrade -h --all
:: Windows Update
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process;" ^
"Get-WindowsUpdate -AcceptAll -Install"
:: Windows programs
winget upgrade -h --all
pause
exit /b