fix: remove Windows symlink workaround for git clone (#299)
- 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: 阳虎 <yanghu@yanghudeMacBook-Pro.local>
This commit is contained in:
committed by
GitHub
parent
3feeba5ff9
commit
b9ce8c9011
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user