mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
chore(install): move to cdn
This commit is contained in:
parent
12fbb92d06
commit
15c2aae9d5
|
@ -59,7 +59,7 @@ if (Get-Command -Name New-TemporaryFile -ErrorAction SilentlyContinue) {
|
||||||
else {
|
else {
|
||||||
$tmp = New-Item -Path $env:TEMP -Name ([System.IO.Path]::GetRandomFileName() -replace '\.\w+$', '.msi') -Force -ItemType File
|
$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
|
# check if we can make https requests and download the binary
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue