From a4717f338b82945566a6f5f59a24f51d52ab14ac Mon Sep 17 00:00:00 2001 From: gush4 <86889511+gush4@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:47:16 +0800 Subject: [PATCH] Update pre_install script in v2rayn.json --- bucket/v2rayn.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/v2rayn.json b/bucket/v2rayn.json index a3bcf9a543c576..e7f8ed2fcf7f6b 100644 --- a/bucket/v2rayn.json +++ b/bucket/v2rayn.json @@ -26,8 +26,8 @@ " foreach ($_ in Get-ChildItem \"$(appdir xray $global)\\current\" -File) {", " $name = $_.Name", " if ($name -Like $form) {", - " Write-Host \"Creating hardlink for $name\"", - " New-Item -ItemType HardLink -Path \"$dir\\bin\\Xray\" -Name $name -Target \"$(appdir xray $global)\\current\\$name\" | Out-Null", + " Write-Host \"Creating SymbolicLink for $name\"", + " New-Item -ItemType SymbolicLink -Path \"$dir\\bin\\Xray\" -Name $name -Target \"$(appdir xray $global)\\current\\$name\" | Out-Null", " }", " }", "}"