proxy-cmd init 'http://127.0.0.1:7890' # Show proxy target url proxy-cmd url # Change proxy target url proxy-cmd url 'http://127.0.0.1:8234' # Set global proxy environments, needs administrator privileges # Needs restart the terminal after running this command # HTTP_PROXY=http://127.0....
首先启动终端。 单击屏幕左上角的Ubuntu图标,在弹出的窗口中点击搜索栏,输入“terminal”, 稍等片...
参见 *How to set the path and environment variables in Windows*。以下是如何访问Windows环境变量的指...
await exec(`setx HTTPS_PROXY "http://${ip}:${port}/"`) // await addClearScriptIni() @@ -94,7 +96,7 @@ const executor = { } else { // 设置代理 log.info('设置代理', ip, port) log.info('设置代理', ip, port, setEnv) return _winSetProxy(exec, ip, port, setEnv) } ...