From 60447e9669ffb2c1a66155ea6ae9a4b5a130b8e3 Mon Sep 17 00:00:00 2001 From: xueweihan <595666367@qq.com> Date: Sat, 29 Jun 2024 12:58:32 +0800 Subject: [PATCH] update --- README_template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_template.md b/README_template.md index efe2cf65a..81f46ac0f 100644 --- a/README_template.md +++ b/README_template.md @@ -88,7 +88,7 @@ hosts 文件在每个系统的位置不一,详情如下: ### 2.3 一行命令 -#### windows +#### Windows 使用命令需要安装[git bash](https://gitforwindows.org/) 复制以下命令保存到本地命名为**fetch_github_hosts** @@ -122,7 +122,7 @@ rm "$_hosts" 将上面的命令添加到 cron,可定时执行。使用前确保 GitHub520 内容在该文件最后部分。 -#### 在 Docker 中运行,若遇到 `Device or resource busy` 错误,可使用以下命令执行 +**在 Docker 中运行,若遇到 `Device or resource busy` 错误,可使用以下命令执行** `cp /etc/hosts ~/hosts.new && sed -i "/# GitHub520 Host Start/Q" ~/hosts.new && curl https://raw.hellogithub.com/hosts >> ~/hosts.new && cp -f ~/hosts.new /etc/hosts`