From a4f1478a1fb94304332addabd2b9daf4ba40e15e Mon Sep 17 00:00:00 2001 From: stevenlele <15964380+stevenlele@users.noreply.github.com> Date: Thu, 28 Nov 2024 21:14:39 +0000 Subject: [PATCH] v2rayn: Create Xray folder in installation script (#13969) --- bucket/v2rayn.json | 1 + 1 file changed, 1 insertion(+) diff --git a/bucket/v2rayn.json b/bucket/v2rayn.json index 111f9d2fd3452..52b5b3558f5a7 100644 --- a/bucket/v2rayn.json +++ b/bucket/v2rayn.json @@ -24,6 +24,7 @@ }, "extract_dir": "v2rayN", "pre_install": [ + "if (!(Test-Path \"$dir\\bin\\Xray\")) { New-Item \"$dir\\bin\\Xray\" -ItemType Directory | Out-Null }", "foreach ($form in @('*.exe', '*.dat')) {", " foreach ($_ in Get-ChildItem \"$(appdir xray $global)\\current\" -File) {", " $name = $_.Name",