mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
parent
8d860bb2d4
commit
a91c21dd2d
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func DefaultDataDir() string {
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
return filepath.Join(usr.HomeDir, "Library", "Ethereum")
|
return filepath.Join(usr.HomeDir, "Library", "Ethereum")
|
||||||
} else if runtime.GOOS == "windows" {
|
} else if runtime.GOOS == "windows" {
|
||||||
return filepath.Join(usr.HomeDir, "AppData", "Roaming", "Ethereum")
|
return filepath.Join(usr.HomeDir, "AppData", "Local", "Ethereum")
|
||||||
} else {
|
} else {
|
||||||
return filepath.Join(usr.HomeDir, ".ethereum")
|
return filepath.Join(usr.HomeDir, ".ethereum")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue