summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-06 23:59:29 +0800
committerruki <[email protected]>2021-01-06 23:59:29 +0800
commite610294fb8699b12eebe682c228f46b499050320 (patch)
tree4e60385aaa0d564b349fa910c5c164e562311b2e /scripts
parent245e65345a788c2c5c888551654fbf2f1feb0814 (diff)
modify ps url
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/get.ps12
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'