Ensure dependencies are installed
This commit is contained in:
parent
7b11234ea2
commit
3e3f7ae062
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ function Install-Winget {
|
||||||
$file = New-TemporaryFile;
|
$file = New-TemporaryFile;
|
||||||
$file = Rename-Item $file "$file.msixbundle";
|
$file = Rename-Item $file "$file.msixbundle";
|
||||||
Invoke-WebRequest "$downloadLink" -OutFile "$file";
|
Invoke-WebRequest "$downloadLink" -OutFile "$file";
|
||||||
|
choco install -y winget;
|
||||||
Add-AppxPackage "$file";
|
Add-AppxPackage "$file";
|
||||||
Remove-Item $file;
|
Remove-Item $file;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue