From d9fb6826a45caafc94772ba63c87a3d2f023867e Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 25 Dec 2020 23:54:47 +0800 Subject: fix get.ps1 --- scripts/get.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get.ps1 b/scripts/get.ps1 index c1a760be2..4ec3df140 100755 --- a/scripts/get.ps1 +++ b/scripts/get.ps1 @@ -153,7 +153,7 @@ param ( $content = [System.Text.RegularExpressions.Regex]::Replace($content, "\n*(# PowerShell parameter completion shim for xmake)?\s*Register-ArgumentCompleter -Native -CommandName xmake -ScriptBlock\s*{.+?\n}\s*", "`n", [System.Text.RegularExpressions.RegexOptions]::Singleline) } try { - $appendcontent = (Invoke-Webrequest 'https://cdn.jsdelivr.net/gh/xmake-io/xmake@master/scripts/register-completions.ps1' -UseBasicParsing).Content + $appendcontent = (Invoke-Webrequest 'https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/register-completions.ps1' -UseBasicParsing).Content } catch { writeErrorTip 'Download failed!' writeErrorTip 'Check your network or... the news of S3 break' -- cgit v1.3.1