From 089e4c825902f3d0eeada2e3495234798a5970a5 Mon Sep 17 00:00:00 2001 From: Justin McIntosh Date: Tue, 11 Jul 2023 10:06:52 -0400 Subject: [PATCH 1/2] Update installer link to 1.5.1572 --- Winget-AutoUpdate-Install.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Winget-AutoUpdate-Install.ps1 b/Winget-AutoUpdate-Install.ps1 index 01f24c7..8a6657d 100644 --- a/Winget-AutoUpdate-Install.ps1 +++ b/Winget-AutoUpdate-Install.ps1 @@ -186,8 +186,8 @@ function Install-WinGet { #Check Package Install $TestWinGet = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq "Microsoft.DesktopAppInstaller" } - #Current: v1.4.10173 = 1.19.10173.0 = 2023.118.406.0 - If ([Version]$TestWinGet.Version -ge "2023.118.406.0") { + #Current: v1.5.1572 = 1.20.1572.0 = 2023.606.2047.0 + If ([Version]$TestWinGet.Version -ge "2023.606.2047.0") { Write-Host "WinGet is Installed" -ForegroundColor Green @@ -196,7 +196,7 @@ function Install-WinGet { #Download WinGet MSIXBundle Write-Host "-> Not installed. Downloading WinGet..." - $WinGetURL = "https://github.com/microsoft/winget-cli/releases/download/v1.4.10173/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" + $WinGetURL = "https://github.com/microsoft/winget-cli/releases/download/v1.5.1572/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle" $WebClient = New-Object System.Net.WebClient $WebClient.DownloadFile($WinGetURL, "$PSScriptRoot\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle") From 1e848490cc8c6c9dba1c84a90b857e8bcfd9132a Mon Sep 17 00:00:00 2001 From: Justin McIntosh Date: Tue, 11 Jul 2023 10:49:22 -0400 Subject: [PATCH 2/2] Update Invoke-PostUpdateActions.ps1 to 1.5.1572 --- Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 b/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 index 7bc4847..a8b7303 100644 --- a/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 +++ b/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 @@ -54,8 +54,8 @@ function Invoke-PostUpdateActions { Write-ToLog "-> Checking if Winget is installed/up to date" "yellow" $TestWinGet = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq "Microsoft.DesktopAppInstaller" } - #Current: v1.4.10173 = 1.19.10173.0 = 2023.118.406.0 - If ([Version]$TestWinGet.Version -ge "2023.118.406.0") { + #Current: v1.5.1572 = 1.20.1572.0 = 2023.606.2047.0 + If ([Version]$TestWinGet.Version -ge "2023.606.2047.0") { Write-ToLog "-> WinGet is Installed/up to date" "green"