mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
chore: use latest wingetcreate self-contained binary
This commit is contained in:
parent
926f0dbf43
commit
1b0ceaff70
|
@ -39,11 +39,6 @@ if (-not $Token) {
|
|||
return
|
||||
}
|
||||
# Get the latest wingetcreate exe
|
||||
# Replace with the following once https://github.com/microsoft/winget-create/issues/38 is resolved:
|
||||
# Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile wingetcreate.exe
|
||||
Invoke-WebRequest 'https://github.com/JanDeDobbeleer/winget-create/releases/latest/download/wingetcreate.zip' -OutFile wingetcreate.zip
|
||||
Expand-Archive -LiteralPath wingetcreate.zip -DestinationPath wingetcreate
|
||||
$wingetcreate = Resolve-Path -Path wingetcreate
|
||||
$env:Path += ";$($wingetcreate.Path)"
|
||||
Invoke-WebRequest 'https://aka.ms/wingetcreate/latest/self-contained' -OutFile wingetcreate.exe
|
||||
# Create the PR
|
||||
WingetCreateCLI.exe submit --token $Token $Version
|
||||
./wingetcreate.exe submit --token $Token $Version
|
||||
|
|
Loading…
Reference in a new issue