From 2bcf60d594268b20e174bc5e57e43c38b4350ee9 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 10 Aug 2022 09:54:25 +0200 Subject: [PATCH] Updated Winget link to latest stable --- Winget-AutoUpdate-Install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Winget-AutoUpdate-Install.ps1 b/Winget-AutoUpdate-Install.ps1 index 312b519..c4b826e 100644 --- a/Winget-AutoUpdate-Install.ps1 +++ b/Winget-AutoUpdate-Install.ps1 @@ -143,7 +143,7 @@ function Install-WinGet { #Check Package Install $TestWinGet = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq "Microsoft.DesktopAppInstaller" } - If ([Version]$TestWinGet.Version -ge "2022.624.444.0") { + If ([Version]$TestWinGet.Version -ge "2022.728.1939.0") { Write-Host "WinGet is Installed" -ForegroundColor Green @@ -152,7 +152,7 @@ function Install-WinGet { #Download WinGet MSIXBundle Write-Host "-> Not installed. Downloading WinGet..." - $WinGetURL = "https://github.com/microsoft/winget-cli/releases/download/v1.3.1741/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" + $WinGetURL = "https://github.com/microsoft/winget-cli/releases/download/v1.3.2091/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" $WebClient = New-Object System.Net.WebClient $WebClient.DownloadFile($WinGetURL, "$PSScriptRoot\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle")