Merge pull request #109 from Romanitho/new-winget-link

Updated Winget link
pull/115/head
Romain 2022-06-21 09:09:56 +02:00 committed by GitHub
commit 506731c2f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ function Install-WinGet {
#Check Package Install
$TestWinGet = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq "Microsoft.DesktopAppInstaller" }
If ([Version]$TestWinGet.Version -ge "2022.610.2325.0") {
If ([Version]$TestWinGet.Version -ge "2022.617.2311.0") {
Write-Host "WinGet is Installed" -ForegroundColor Green
@ -141,7 +141,7 @@ function Install-WinGet {
#Download WinGet MSIXBundle
Write-Host "-> Not installed. Downloading WinGet..."
$WinGetURL = "https://github.com/microsoft/winget-cli/releases/download/v.1.3.1611/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
$WinGetURL = "https://github.com/microsoft/winget-cli/releases/download/v1.3.1681/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile($WinGetURL, "$PSScriptRoot\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle")