通过代理运行lein.bat self-install

阅读更多
1,IE代理一定不要用脚本的方式:
通过代理运行lein.bat self-install_第1张图片
2,修改lein.bat download部分powershell命令:
修改前:
powershell -Command "& {param($a,$f) $client = New-Object System.Net.WebClient; $client.Proxy.Credentials =[System.Net.CredentialCache]::DefaultNetworkCredentials; $client.DownloadFile($a, $f)}


修改后:
powershell -Command "& {param($a,$f) $client = New-Object System.Net.WebClient;$client.Proxy=[System.Net.WebRequest]::GetSystemWebProxy();$client.Proxy.Credentials =[System.Net.CredentialCache]::DefaultNetworkCredentials; $client.DownloadFile($a, $f)}


  • 通过代理运行lein.bat self-install_第2张图片
  • 大小: 35.3 KB
  • 查看图片附件

你可能感兴趣的:(Clojure,lein)