尝试新版本 window proxy set
parent
b9feca06f2
commit
ef85ad5409
|
@ -70,7 +70,7 @@ async function _winSetProxy (exec, ip, port, setEnv) {
|
||||||
}
|
}
|
||||||
// http=127.0.0.1:8888;https=127.0.0.1:8888 考虑这种方式
|
// 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', `http=${ip}:${port};https=${ip}:${port}`, lanIpStr])
|
||||||
|
|
||||||
if (setEnv) {
|
if (setEnv) {
|
||||||
log.info('同时设置 https_proxy')
|
log.info('同时设置 https_proxy')
|
||||||
|
|
Loading…
Reference in New Issue