Skip to content

Commit d5d0dee

Browse files
committed
Switched private template symlink script to use hardlink instead
1 parent cbce823 commit d5d0dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.bin/Add-Private-Template-Symlinks.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ foreach ($file in $files) {
3131
# Check if symlink already exists
3232
if (-not (Test-Path -Path $linkPath -PathType Leaf)) {
3333
# Create symlink
34-
New-Item -ItemType SymbolicLink -Path $linkPath -Value $targetPath
34+
New-Item -ItemType HardLink -Path $linkPath -Value $targetPath
3535
Write-Host "Symlink created for $($file.Name)"
3636
} else {
3737
Write-Host "Symlink already exists for $($file.Name)"

0 commit comments

Comments
 (0)