From 6533280ff660bb36df0e953f395761ae27e5c57f Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Sat, 30 Nov 2024 21:20:03 +0100 Subject: [PATCH] chore(install): use CDN for unix --- website/static/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/static/install.sh b/website/static/install.sh index 9dc8770eeac2..4b3ee97e9d7a 100755 --- a/website/static/install.sh +++ b/website/static/install.sh @@ -155,7 +155,7 @@ install_themes() { zip_file="${cache_dir}/themes.zip" - url="https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip" + url="https://cdn.ohmyposh.dev/releases/latest/themes.zip" http_response=$(curl -s -f -L $url -o $zip_file -w "%{http_code}") @@ -191,9 +191,9 @@ install() { info "\nℹ️ Installing oh-my-posh for ${target} in ${install_dir}" executable=${install_dir}/oh-my-posh - url=https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-${target} + url=https://cdn.ohmyposh.dev/releases/latest/posh-${target} if [ "$version" ]; then - url=https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/${version}/posh-${target} + url=https://cdn.ohmyposh.dev/releases/${version}/posh-${target} fi info "⬇️ Downloading oh-my-posh from ${url}"