From f16e835eee15b14511eff4396700cae112282df1 Mon Sep 17 00:00:00 2001 From: moqsien Date: Sun, 16 Jun 2024 20:53:30 +0800 Subject: [PATCH] installation scripts --- docs/quickstart.md | 10 ++-------- docs/zh-cn/quickstart.md | 16 ++-------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/docs/quickstart.md b/docs/quickstart.md index a4e311d..a636052 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -11,7 +11,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/gvcgo/ver Use Following command when **github.com** happens to be slow. ```bash -curl --proto '=https' --tlsv1.2 -sSf https://proxy.vmr.us.kg/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.sh | sh +curl --proto '=https' --tlsv1.2 -sSf https://scripts.vmr.us.kg | sh ``` ### For Windows @@ -19,13 +19,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://proxy.vmr.us.kg/proxy/https://raw.g Run the command below in powershell. ```bash -powershell -c "irm https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.ps1 | iex" -``` - -Use following command when **github.com** happens to be slow. - -```bash -powershell -c "irm https://proxy.vmr.us.kg/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.ps1 | iex" +powershell -c "irm https://scripts.vmr.us.kg/windows | iex" ``` diff --git a/docs/zh-cn/quickstart.md b/docs/zh-cn/quickstart.md index 51d8961..af15ca2 100644 --- a/docs/zh-cn/quickstart.md +++ b/docs/zh-cn/quickstart.md @@ -6,26 +6,14 @@ 复制以下命令,并在终端中执行。 ```bash -curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.sh | sh -``` - -如果你访问github.com比较慢,可以使用以下命令。 - -```bash -curl --proto '=https' --tlsv1.2 -sSf https://proxy.vmr.us.kg/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.sh | sh +curl --proto '=https' --tlsv1.2 -sSf https://scripts.vmr.us.kg | sh ``` ### Windows下的安装 复制以下命令,并在Powershell中执行。 ```bash -powershell -c "irm https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.ps1 | iex" -``` - -如果你访问github.com比较慢,可以使用以下命令。 - -```bash -powershell -c "irm https://proxy.vmr.us.kg/proxy/https://raw.githubusercontent.com/gvcgo/version-manager/main/scripts/install.preview.ps1 | iex" +powershell -c "irm https://scripts.vmr.us.kg/windows | iex" ``` !> 使用go源码编译得到的Windows可执行文件,经常被windows的defender**误报**为病毒,详见[go语言官方的解释](https://go.dev/doc/faq#virus)。 为了解决这个问题,**VMR**使用**osslsigncode**对windows可执行文件进行了签名,但无法保证一定没有误报。如果仍然出现误报,请手动添加和**VMR**有关的文件夹到信任列表,或者尝试下载**VMR**的[签名证书](https://github.com/gvcgo/version-manager/blob/main/scripts/vmr.pfx)进行安装。