We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5178993 commit 016a1cbCopy full SHA for 016a1cb
pkg/installer/check.go
@@ -568,7 +568,8 @@ type proxyServer struct {
568
569
// GetProxyServers returns the proxy servers
570
func GetProxyServers() []string {
571
- configFile := sysos.ExpandEnv("$HOME/.config/hd-home/proxy.yaml")
+ home, _ := homedir.Dir()
572
+ configFile := filepath.Join(home, ".config/hd-home/proxy.yaml")
573
data, err := sysos.ReadFile(configFile)
574
if err == nil {
575
proxyServer := &proxyServer{}
0 commit comments