From 6218539c4bf4bb158ecf3bf88e99e1b77e90476b Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sun, 1 Dec 2024 17:57:52 +0100 Subject: [PATCH] fix(winget): download from CDN --- packages/winget/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/winget/build.ps1 b/packages/winget/build.ps1 index 693cce98..9cd159ad 100644 --- a/packages/winget/build.ps1 +++ b/packages/winget/build.ps1 @@ -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() }