From 886c9591838e0c6e4ef166c7d750e5b8da743e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=E3=82=A2=E3=82=A4=E3=83=AA?= =?UTF-8?q?=E3=82=B9?= Date: Tue, 27 May 2025 12:00:40 +0800 Subject: [PATCH] fix: clarify instructions for running scripts on Windows, specifying path format --- scripts/README-zh.md | 2 +- scripts/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/README-zh.md b/scripts/README-zh.md index 0af2a13..cff8009 100644 --- a/scripts/README-zh.md +++ b/scripts/README-zh.md @@ -46,7 +46,7 @@ bash scripts/sync-upstream.sh upstream/master /tmp/blog-sync * **请使用 Git Bash** 执行上述命令; * ❌ **不建议使用 cmd.exe 或 PowerShell**,以避免路径兼容与权限问题; -* 如需使用 Windows 运行脚本,推荐 Git Bash。 +* 如需使用 Windows 运行脚本,推荐 Git Bash。路径参数使用 `/c/...` 格式,避免 Windows 风格路径。 --- diff --git a/scripts/README.md b/scripts/README.md index 3f845d7..fc86261 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -50,7 +50,7 @@ bash scripts/sync-upstream.sh upstream/master /tmp/blog-sync * ✅ **Use Git Bash** to run the above commands; * ❌ **Avoid using cmd.exe or PowerShell**, as they may cause compatibility issues with file paths; -* For best results, stick with Git Bash even on Windows. +* For best results, stick with Git Bash even on Windows.Use the `/c/...` format for path arguments and avoid Windows-style paths. ---