From b9ce8c901166035e0bd2ea67b54ae8331279e91c Mon Sep 17 00:00:00 2001 From: yang1002378395-cmyk Date: Sun, 15 Mar 2026 00:47:42 +0800 Subject: [PATCH] fix: remove Windows symlink workaround for git clone (#299) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The installer uses copyRecursiveSync which copies files, not symlinks, so git clone without core.symlinks works fine - The previous Windows-specific git -c core.symlinks=true clone required admin privileges, causing install failures - This fix allows non-admin Windows users to install Fixes #286 Co-authored-by: 阳虎 --- tools/bin/install.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/bin/install.js b/tools/bin/install.js index 942cdccc..aad1772b 100755 --- a/tools/bin/install.js +++ b/tools/bin/install.js @@ -244,11 +244,7 @@ function main() { try { console.log("Cloning repository…"); - if (process.platform === "win32") { - run("git", ["-c", "core.symlinks=true", "clone", REPO, tempDir]); - } else { - run("git", ["clone", REPO, tempDir]); - } + run("git", ["clone", REPO, tempDir]); const ref = tagArg ||