Fix non-functioning statement
This commit is contained in:
parent
f026943763
commit
f9abc3801a
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
function Install-Winget {
|
||||
$downloadLink = "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle";
|
||||
$file = New-TemporaryFile;
|
||||
$file = Rename-Item $file "$file.msixbundle";
|
||||
$file = Rename-Item $file "$file.msixbundle" -PassThru;
|
||||
Invoke-WebRequest "$downloadLink" -OutFile "$file";
|
||||
choco install -y winget;
|
||||
Add-AppxPackage "$file";
|
||||
|
|
Loading…
Reference in a new issue