Fix typo
This commit is contained in:
parent
5b0a8fc7df
commit
248ac46d5f
@ -8,7 +8,7 @@ $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 '*.appxbundle'}).browser_download_url
|
||||||
Out = "$env:temp\winget.appxbundle"
|
Out = "$env:temp\winget.appxbundle"
|
||||||
}
|
}
|
||||||
Invoke-WebRequest @InvokeWebRequestSplat
|
Invoke-WebRequest @InvokeWebRequestSplat
|
||||||
|
Loading…
Reference in New Issue
Block a user