fix(winget): use correct hash URL
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Release / msi (arm64) (push) Blocked by required conditions
Release / msi (x64) (push) Blocked by required conditions
Release / msi (x86) (push) Blocked by required conditions
Release / release (push) Blocked by required conditions

This commit is contained in:
Jan De Dobbeleer 2024-11-30 17:56:16 +01:00 committed by Jan De Dobbeleer
parent 71fc5644df
commit ebbd7a230a

View file

@ -18,7 +18,7 @@ function Get-HashForArchitecture {
[string]
$Version
)
$hash = (new-object Net.WebClient).DownloadString("https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$Version/install-$Architecture.msi.sha256")
$hash = (new-object Net.WebClient).DownloadString("https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/$Version/install-$Architecture.msi.sha256")
return $hash.Trim()
}