Disable baremetal for now;Add to package manager install logic
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-06-24 09:26:21 +02:00
parent 0c19c023de
commit 16575d1db4
3 changed files with 25 additions and 8 deletions

View File

@ -52,3 +52,14 @@ $AddAppxPackageSplat = @{
}
Add-AppxPackage @AddAppxPackageSplat
# Create reparse point
$SetExecutionAliasSplat = @{
Path = "$([System.Environment]::SystemDirectory)\winget.exe"
PackageName = "Microsoft.DesktopAppInstaller_8wekyb3d8bbwe"
EntryPoint = "Microsoft.DesktopAppInstaller_8wekyb3d8bbwe!winget"
Target = "$((Get-AppxPackage Microsoft.DesktopAppInstaller).InstallLocation)\AppInstallerCLI.exe"
AppType = 'Desktop'
Version = 3
}
Set-ExecutionAlias @SetExecutionAliasSplat
& explorer.exe "shell:appsFolder\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe!winget"