From 36273a44b92bd549151fd502f7e37fcfe6d9ba7c Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 9 Feb 2020 20:27:20 +0800 Subject: modify readme --- README.md | 6 +++--- README_zh.md | 6 +++--- 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 ``` ## 简单的工程描述 -- cgit v1.3.1