尝试新版本 window proxy set

pull/192/head
xiaojunnuo 2022-03-07 11:29:51 +08:00
parent b9feca06f2
commit ef85ad5409
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ async function _winSetProxy (exec, ip, port, setEnv) {
}
// http=127.0.0.1:8888;https=127.0.0.1:8888 考虑这种方式
const proxyPath = extraPath.getProxyExePath()
await execFile(proxyPath, ['global', `${ip}:${port}`, lanIpStr])
await execFile(proxyPath, ['global', `http=${ip}:${port};https=${ip}:${port}`, lanIpStr])
if (setEnv) {
log.info('同时设置 https_proxy')