mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-02 11:15:03 +03:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user