Env: Add new env configuration (#874)

https://github.com/XTLS/Xray-core/pull/6400

Co-authored-by: yiguodev <147401898+yiguodev@users.noreply.github.com>
This commit is contained in:
Meow
2026-07-11 20:52:30 +08:00
co-authored by yiguodev
parent 5db24cc2d6
commit ef9691e3e8
27 changed files with 464 additions and 197 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ xray run -config http+unix:///run/xray-config.sock/config.json
When `-config` is not specified, Xray will attempt to load `config.json` from the following paths in order:
- Working Directory
- The path specified by `Xray.location.asset` in [Environment Variables](../config/features/env.md#resource-file-path)
- The path specified by `Xray.location.asset` in [Environment Variables](../config/env.md#resource-file-path)
:::
```bash
@@ -255,7 +255,7 @@ xray wg [-i "(base64.StdEncoding)"]
When `-config` is not specified, Xray will attempt to load `config.json` from the following paths in order:
- Working Directory
- The path specified by `Xray.location.asset` in [Environment Variables](../config/features/env.md#resource-file-path)
- The path specified by `Xray.location.asset` in [Environment Variables](../config/env.md#resource-file-path)
:::
### xray mldsa65