From 15c2aae9d5da7d096bb1ab350d4804a0c57a2f22 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sat, 30 Nov 2024 11:18:05 +0100 Subject: [PATCH] chore(install): move to cdn --- website/static/install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/install.ps1 b/website/static/install.ps1 index c164bb80..6b071939 100644 --- a/website/static/install.ps1 +++ b/website/static/install.ps1 @@ -59,7 +59,7 @@ if (Get-Command -Name New-TemporaryFile -ErrorAction SilentlyContinue) { else { $tmp = New-Item -Path $env:TEMP -Name ([System.IO.Path]::GetRandomFileName() -replace '\.\w+$', '.msi') -Force -ItemType File } -$url = "https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/$installer" +$url = "https://cdn.ohmyposh.dev/releases/latest/$installer" # check if we can make https requests and download the binary try {