mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 11:34:04 -08:00
fix(winget): import Appx module
This commit is contained in:
parent
da4fb19684
commit
8e39ff6a82
|
@ -62,6 +62,9 @@ if (-not $Token) {
|
|||
return
|
||||
}
|
||||
# Install the latest wingetcreate exe
|
||||
# Need to do things this way, see https://github.com/PowerShell/PowerShell/issues/13138
|
||||
Import-Module Appx -UseWindowsPowerShell
|
||||
|
||||
# Download and install C++ Runtime framework package.
|
||||
$vcLibsBundleFile = "$env:TEMP\Microsoft.VCLibs.Desktop.appx"
|
||||
Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $vcLibsBundleFile
|
||||
|
|
Loading…
Reference in a new issue