mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update defaults.go
This commit is contained in:
parent
122d097219
commit
f24ae15f93
1 changed files with 3 additions and 3 deletions
|
|
@ -54,11 +54,11 @@ func DefaultDataDir() string {
|
|||
home := homeDir()
|
||||
if home != "" {
|
||||
if runtime.GOOS == "darwin" {
|
||||
return filepath.Join(home, "Library", "EthereumInc")
|
||||
return filepath.Join(home, "Library", "EtherInc")
|
||||
} else if runtime.GOOS == "windows" {
|
||||
return filepath.Join(home, "AppData", "Roaming", "EthereumInc")
|
||||
return filepath.Join(home, "AppData", "Roaming", "EtherInc")
|
||||
} else {
|
||||
return filepath.Join(home, ".ethereuminc")
|
||||
return filepath.Join(home, ".etherinc")
|
||||
}
|
||||
}
|
||||
// As we cannot guess a stable location, return empty and handle later
|
||||
|
|
|
|||
Loading…
Reference in a new issue