mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
chore(winget): install correct wingetcreate binary
This commit is contained in:
parent
eed32ec55a
commit
3cba6f74ea
|
@ -61,7 +61,14 @@ Get-ChildItem '*.yaml' | ForEach-Object -Process {
|
|||
if (-not $Token) {
|
||||
return
|
||||
}
|
||||
# Get the latest wingetcreate exe
|
||||
Invoke-WebRequest 'https://aka.ms/wingetcreate/latest/self-contained' -OutFile wingetcreate.exe
|
||||
# Install the latest wingetcreate exe
|
||||
# Download and install C++ Runtime framework package.
|
||||
Invoke-WebRequest https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx -OutFile $(vcLibsBundleFile)
|
||||
Add-AppxPackage $(vcLibsBundleFile)
|
||||
|
||||
# Download Winget-Create msixbundle, install, and execute update.
|
||||
Invoke-WebRequest https://aka.ms/wingetcreate/latest/msixbundle -OutFile $(appxBundleFile)
|
||||
Add-AppxPackage $(appxBundleFile)
|
||||
|
||||
# Create the PR
|
||||
./wingetcreate.exe submit --token $Token $Version
|
||||
wingetcreate submit --token $Token $Version
|
||||
|
|
Loading…
Reference in a new issue