This commit is contained in:
Derek May 2018-03-14 16:02:34 -07:00
parent 78cb4768e4
commit adfbd772d8

View file

@ -55,11 +55,11 @@ func DefaultDataDir() string {
home := homeDir() home := homeDir()
if home != "" { if home != "" {
if runtime.GOOS == "darwin" { if runtime.GOOS == "darwin" {
return filepath.Join(home, "Library", "Ethereum") return filepath.Join(home, "Library", "EtherGem")
} else if runtime.GOOS == "windows" { } else if runtime.GOOS == "windows" {
return filepath.Join(home, "AppData", "Roaming", "Ethereum") return filepath.Join(home, "AppData", "Roaming", "EtherGem")
} else { } else {
return filepath.Join(home, ".ethereum") return filepath.Join(home, ".ethergem")
} }
} }
// As we cannot guess a stable location, return empty and handle later // As we cannot guess a stable location, return empty and handle later