Changed visual to 2022 & optimized download speed

pull/2/head
Romain 2022-01-30 17:39:00 +01:00 committed by GitHub
parent 6a8624b57e
commit a01b8de340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ function Get-WingetOutdated {
[string]$AvailableVersion
}
#Get WinGet Location to run as system
#Get WinGet Location
$WingetCmd = Get-Command winget.exe -ErrorAction SilentlyContinue
if ($WingetCmd){
$script:upgradecmd = $WingetCmd.Source
@ -144,7 +144,7 @@ function Get-WingetOutdated {
$script:upgradecmd = Resolve-Path "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_*_x64__8wekyb3d8bbwe\winget.exe" | Select-Object -ExpandProperty Path
}
else{
Write-Log "No Winget installed !"
Write-Log "Winget not installed !"
return
}