feat(xray): update xray-core to v26.10.31

Bump xtls/xray-core to a4a3dff5b20c (v26.10.31) and the three binary
pins in DockerInit.sh and release.yml in lockstep, so the in-process
conf.Build() validation and the child binary agree. The other Go
modules move to their latest patch/minor releases in the same go.mod.

26.10.31 moved ResolveLuaFile from common/platform to
common/platform/filesystem; childLuaScriptPath now calls it there. The
lookup order is unchanged, the extension check is now case-insensitive.
This commit is contained in:
MHSanaei
2026-11-01 14:55:14 +01:00
parent 9938d0b7a6
commit 72c9092d4a
5 changed files with 62 additions and 62 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ import (
routerService "github.com/xtls/xray-core/app/router/command"
statsService "github.com/xtls/xray-core/app/stats/command"
xnet "github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/common/platform"
"github.com/xtls/xray-core/common/platform/filesystem"
"github.com/xtls/xray-core/common/protocol"
"github.com/xtls/xray-core/common/serial"
"github.com/xtls/xray-core/infra/conf"
@@ -656,7 +656,7 @@ func childLuaScriptPath(script string) string {
if script == "" || filepath.IsAbs(script) {
return script
}
if _, err := platform.ResolveLuaFile(script); err == nil {
if _, err := filesystem.ResolveLuaFile(script); err == nil {
return script
}
binDir, err := filepath.Abs(config.GetBinFolderPath())