confOS/windows/update.bat

15 lines
182 B
Batchfile
Raw Normal View History

2022-12-12 00:08:32 +01:00
@ECHO off
:: Start as administrator
fltmc >nul 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2> nul || (
2022-12-12 00:10:20 +01:00
exit 1
2022-12-12 00:08:32 +01:00
)
exit 0
)
winget upgrade -h --all
pause
exit /b