summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-09 20:27:20 +0800
committerruki <[email protected]>2020-02-09 20:27:20 +0800
commit36273a44b92bd549151fd502f7e37fcfe6d9ba7c (patch)
tree66e60793628ec1e76897cc2cfeb3f20b1c87ddf9
parent39a9872e29058754b8e7f8478f1e65dfbb318495 (diff)
modify readme
-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
```
## 简单的工程描述