Update Winget-AutoUpdate-Install.ps1

pull/56/head
Romain 2022-04-15 18:51:30 +02:00
parent 3ec6cb1fb2
commit f9b4ec31ff
1 changed files with 2 additions and 2 deletions

View File

@ -195,14 +195,14 @@ function Install-WingetAutoUpdate{
"@ "@
$ConfigXML.Save("$WingetUpdatePath\config\config.xml") $ConfigXML.Save("$WingetUpdatePath\config\config.xml")
Write-host "`nInstallation succeeded!" -ForegroundColor Green Write-host "`n WAU Installation succeeded!" -ForegroundColor Green
Start-sleep 1 Start-sleep 1
#Run Winget ? #Run Winget ?
Start-WingetAutoUpdate Start-WingetAutoUpdate
} }
catch{ catch{
Write-host "`nInstallation failed! Run me with admin rights" -ForegroundColor Red Write-host "`n WAU Installation failed! Run me with admin rights" -ForegroundColor Red
Start-sleep 1 Start-sleep 1
return $False return $False
} }