xtunnel 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
@@ -47,6 +47,7 @@ function start() {
|
|
47
47
|
// 关闭上个进程
|
48
48
|
rayProcess && rayProcess.kill('SIGINT')
|
49
49
|
// 设置系统代理
|
50
|
+
console.log(config.setting.localHttpPort)
|
50
51
|
setSystemProxy(config.setting.localHttpPort)
|
51
52
|
// 根据操作系统平台-启动新进程
|
52
53
|
rayProcess = child_process.exec(path.join(__dirname, './core/xray-linux-x64'), (error, stdout, stderr) => error && stop() && console.error('启动失败,请检查权限/端口占用'))
|