From 2f0ae85baaea0e11b932655e036ff54e8920c76f Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 7 Mar 2022 11:36:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3pip=20install=20=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/shell/scripts/set-system-proxy/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')