diff --git a/packages/core/src/shell/scripts/set-system-proxy/index.js b/packages/core/src/shell/scripts/set-system-proxy/index.js index 91885e35..8ee61974 100644 --- a/packages/core/src/shell/scripts/set-system-proxy/index.js +++ b/packages/core/src/shell/scripts/set-system-proxy/index.js @@ -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', `http=${ip}:${port};https=${ip}:${port}`, lanIpStr]) + await execFile(proxyPath, ['global', `http=http://${ip}:${port};https=http://${ip}:${port}`, lanIpStr]) if (setEnv) { log.info('同时设置 https_proxy')