欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-05-21 09:23:43
...
1,IE代理一定不要用脚本的方式:
通过代理运行lein.bat self-install
            
    
    博客分类: Clojure Clojurelein 
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
            
    
    博客分类: Clojure Clojurelein 
  • 大小: 35.3 KB
相关标签: Clojure lein