Attempt package manager installation with provided license
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-05 15:52:43 +02:00
parent b041658fbf
commit a3e4fb98eb
2 changed files with 25 additions and 23 deletions

View File

@ -54,10 +54,12 @@ $AppxDependencies.ShortName | ForEach-Object {
Add-AppxPackage @AddAppxPackageSplat
}
# Install winget
$AddAppxPackageSplat = @{
Path = "$env:temp\winget.msixbundle"
$AddAppxProvisionedPackageSplat = @{
Online = $True
PackagePath = "$env:temp\winget.msixbundle"
LicensePath = "$env:temp\wingetlicense.xml"
}
Add-AppxPackage @AddAppxPackageSplat
Add-AppxProvisionedPackage @AddAppxProvisionedPackageSplat
# Create reparse point
$SetExecutionAliasSplat = @{