diff options
| author | ruki <[email protected]> | 2021-01-06 23:59:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-06 23:59:29 +0800 |
| commit | e610294fb8699b12eebe682c228f46b499050320 (patch) | |
| tree | 4e60385aaa0d564b349fa910c5c164e562311b2e /scripts | |
| parent | 245e65345a788c2c5c888551654fbf2f1feb0814 (diff) | |
modify ps url
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/get.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get.ps1 b/scripts/get.ps1 index 4ec3df140..a189b2ba2 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://raw.githubusercontent.com/xmake-io/xmake/master/scripts/register-completions.ps1' -UseBasicParsing).Content + $appendcontent = (Invoke-Webrequest 'https://xmake.io/assets/scripts/pscompletions.text' -UseBasicParsing).Content } catch { writeErrorTip 'Download failed!' writeErrorTip 'Check your network or... the news of S3 break' |
