From 6a18b5bf2252b9cb40fe7d1e86e426d5ab9fa82f Mon Sep 17 00:00:00 2001 From: djpbessems Date: Fri, 25 Jun 2021 15:08:03 +0200 Subject: [PATCH] Adjust package manager install to new release format --- scripts/Install-WinGet.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Install-WinGet.ps1 b/scripts/Install-WinGet.ps1 index 5f9b05a..77b0b1f 100644 --- a/scripts/Install-WinGet.ps1 +++ b/scripts/Install-WinGet.ps1 @@ -35,8 +35,8 @@ $InvokeRestMethodSplat = @{ Method = 'GET' } $InvokeWebRequestSplat = @{ - Uri = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object {$_.name -like '*.appxbundle'}).browser_download_url - OutFile = "$env:temp\winget.appxbundle" + Uri = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object {$_.name -like '*.msixbundle'}).browser_download_url + OutFile = "$env:temp\winget.msixbundle" } Invoke-WebRequest @InvokeWebRequestSplat @@ -49,7 +49,7 @@ $AppxDependencies.ShortName | ForEach-Object { } # Install winget $AddAppxPackageSplat = @{ - Path = "$env:temp\winget.appxbundle" + Path = "$env:temp\winget.msixbundle" } Add-AppxPackage @AddAppxPackageSplat