Skip to content

Commit

Permalink
v2rayn: Create Xray folder in installation script (#13969)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenlele authored Nov 28, 2024
1 parent 3a7e5f0 commit a4f1478
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bucket/v2rayn.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a4f1478

Please sign in to comment.