Fix dependencies for package manager
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
51f6a7c7bd
commit
84d449dadb
@ -13,6 +13,12 @@ $InvokeWebRequestSplat = @{
|
|||||||
}
|
}
|
||||||
Invoke-WebRequest @InvokeWebRequestSplat
|
Invoke-WebRequest @InvokeWebRequestSplat
|
||||||
|
|
||||||
If (Test-Path -Path "$env:temp\winget.appxbundle") {
|
$InvokeWebRequestSplat = @{
|
||||||
& dism.exe /Online /Add-ProvisionedAppxPackage /PackagePath:"$env:temp\winget.appxbundle" /SkipLicense
|
Uri = "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx"
|
||||||
|
Out = "$env:temp\vclibs.appx"
|
||||||
|
}
|
||||||
|
Invoke-WebRequest @InvokeWebRequestSplat
|
||||||
|
|
||||||
|
If (Test-Path -Path "$env:temp\winget.appxbundle") {
|
||||||
|
& dism.exe /Online /Add-ProvisionedAppxPackage /PackagePath:"$env:temp\winget.appxbundle" /SkipLicense /DependencyPackagePath:"$env:temp\vclibs.appx"
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user