mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-12 14:04:05 -08:00
fix(winget): import Appx module
This commit is contained in:
parent
da4fb19684
commit
8e39ff6a82
|
@ -62,6 +62,9 @@ if (-not $Token) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
# Install the latest wingetcreate exe
|
# 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.
|
# Download and install C++ Runtime framework package.
|
||||||
$vcLibsBundleFile = "$env:TEMP\Microsoft.VCLibs.Desktop.appx"
|
$vcLibsBundleFile = "$env:TEMP\Microsoft.VCLibs.Desktop.appx"
|
||||||
Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $vcLibsBundleFile
|
Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $vcLibsBundleFile
|
||||||
|
|
Loading…
Reference in a new issue