mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-24 02:24:03 -08:00
fix(winget): download from CDN
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Release / msi (arm64) (push) Has been cancelled
Release / msi (x64) (push) Has been cancelled
Release / msi (x86) (push) Has been cancelled
Release / release (push) Has been cancelled
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
Release / msi (arm64) (push) Has been cancelled
Release / msi (x64) (push) Has been cancelled
Release / msi (x86) (push) Has been cancelled
Release / release (push) Has been cancelled
This commit is contained in:
parent
5ddb2d185c
commit
6218539c4b
|
@ -18,7 +18,7 @@ function Get-HashForArchitecture {
|
|||
[string]
|
||||
$Version
|
||||
)
|
||||
$hash = (new-object Net.WebClient).DownloadString("https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/$Version/install-$Architecture.msi.sha256")
|
||||
$hash = (new-object Net.WebClient).DownloadString("https://cdn.ohmyposh.dev/releases/v$Version/install-$Architecture.msi.sha256")
|
||||
return $hash.Trim()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue