Adjust package manager install to new release format
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		| @@ -35,8 +35,8 @@ $InvokeRestMethodSplat = @{ | |||||||
|     Method = 'GET' |     Method = 'GET' | ||||||
| } | } | ||||||
| $InvokeWebRequestSplat = @{ | $InvokeWebRequestSplat = @{ | ||||||
|     Uri     = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object {$_.name -like '*.appxbundle'}).browser_download_url |     Uri     = ((Invoke-RestMethod @InvokeRestMethodSplat).assets | Where-Object {$_.name -like '*.msixbundle'}).browser_download_url | ||||||
|     OutFile = "$env:temp\winget.appxbundle" |     OutFile = "$env:temp\winget.msixbundle" | ||||||
| } | } | ||||||
| Invoke-WebRequest @InvokeWebRequestSplat | Invoke-WebRequest @InvokeWebRequestSplat | ||||||
|  |  | ||||||
| @@ -49,7 +49,7 @@ $AppxDependencies.ShortName | ForEach-Object { | |||||||
| } | } | ||||||
| # Install winget | # Install winget | ||||||
| $AddAppxPackageSplat = @{ | $AddAppxPackageSplat = @{ | ||||||
|     Path = "$env:temp\winget.appxbundle" |     Path = "$env:temp\winget.msixbundle" | ||||||
| } | } | ||||||
| Add-AppxPackage @AddAppxPackageSplat | Add-AppxPackage @AddAppxPackageSplat | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user