summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--README_zh.md6
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 082626c74..fc54466dd 100644
--- a/README.md
+++ b/README.md
@@ -64,19 +64,19 @@ If you want to know more, please refer to:
#### via curl
```bash
-bash <(curl -fsSL https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.sh)
+bash <(curl -fsSL https://cdn.jsdelivr.net/gh/xmake-io/xmake/scripts/get.sh)
```
#### via wget
```bash
-bash <(wget https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.sh -O -)
+bash <(wget https://cdn.jsdelivr.net/gh/xmake-io/xmake/scripts/get.sh -O -)
```
#### via powershell
```bash
-Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
+Invoke-Expression (Invoke-Webrequest 'https://cdn.jsdelivr.net/gh/xmake-io/xmake/scripts/get.ps1' -UseBasicParsing).Content
```
## Simple description
diff --git a/README_zh.md b/README_zh.md
index 1f1ca78f1..0614a270f 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -70,19 +70,19 @@ xmake的目标是开发者更加关注于项目本身开发,简化项目的描
#### 使用curl
```bash
-bash <(curl -fsSL https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.sh)
+bash <(curl -fsSL https://cdn.jsdelivr.net/gh/xmake-io/xmake/scripts/get.sh)
```
#### 使用wget
```bash
-bash <(wget https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.sh -O -)
+bash <(wget https://cdn.jsdelivr.net/gh/xmake-io/xmake/scripts/get.sh -O -)
```
#### 使用powershell
```bash
-Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/xmake-io/xmake/master/scripts/get.ps1' -UseBasicParsing).Content
+Invoke-Expression (Invoke-Webrequest 'https://cdn.jsdelivr.net/gh/xmake-io/xmake/scripts/get.ps1' -UseBasicParsing).Content
```
## 简单的工程描述