Skip to content

Commit db67af3

Browse files
committed
fix jsdelivr
1 parent 00e462e commit db67af3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

psget.text

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ param (
99
)
1010

1111
& {
12-
$getscript = (Invoke-Webrequest 'https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
12+
$getscript = (Invoke-Webrequest 'https://fastly.jsdelivr.net/gh/xmake-io/xmake@master/scripts/get.ps1' -UseBasicParsing).Content
1313
if ($getscript -is [Byte[]]) {
1414
$getscript = [System.Text.Encoding]::UTF8.GetString($getscript)
1515
}

shget.text

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ remote_get_content() {
1010
fi
1111
}
1212

13-
bash <(remote_get_content https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.sh) $@
13+
bash <(remote_get_content https://fastly.jsdelivr.net/gh/xmake-io/xmake@master/scripts/get.sh) $@

0 commit comments

Comments
 (0)