From 2d063a79fb6e47b8cf30e8d16be931d340c7298b Mon Sep 17 00:00:00 2001 From: Hossin Asaadi Date: Tue, 8 Nov 2022 10:54:17 -0500 Subject: [PATCH] add restrictedIPsPath arg to xray --- xray/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray/process.go b/xray/process.go index f3f4dbaf02..7d0d2d05ed 100644 --- a/xray/process.go +++ b/xray/process.go @@ -161,7 +161,7 @@ func (p *process) Start() (err error) { return common.NewErrorf("写入配置文件失败: %v", err) } - cmd := exec.Command(GetBinaryPath(), "-c", configPath) + cmd := exec.Command(GetBinaryPath(), "-c", configPath, "-restrictedIPsPath", "./bin/blockedIPs") p.cmd = cmd stdReader, err := cmd.StdoutPipe()