|
|
@ -68,6 +68,7 @@ async function _winSetProxy (exec, ip, port, setEnv) { |
|
|
|
for (const string of _lanIP) { |
|
|
|
for (const string of _lanIP) { |
|
|
|
lanIpStr += string + ';' |
|
|
|
lanIpStr += string + ';' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// http=127.0.0.1:8888;https=127.0.0.1:8888 考虑这种方式
|
|
|
|
const proxyPath = extraPath.getProxyExePath() |
|
|
|
const proxyPath = extraPath.getProxyExePath() |
|
|
|
await execFile(proxyPath, ['global', `${ip}:${port}`, lanIpStr]) |
|
|
|
await execFile(proxyPath, ['global', `${ip}:${port}`, lanIpStr]) |
|
|
|
|
|
|
|
|
|
|
|