mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Use Callisto as a default folder dir
This commit is contained in:
parent
fa840b576e
commit
3d25ba880b
1 changed files with 3 additions and 3 deletions
|
|
@ -57,11 +57,11 @@ func DefaultDataDir() string {
|
|||
home := homeDir()
|
||||
if home != "" {
|
||||
if runtime.GOOS == "darwin" {
|
||||
return filepath.Join(home, "Library", "Ethereum")
|
||||
return filepath.Join(home, "Library", "Callisto")
|
||||
} else if runtime.GOOS == "windows" {
|
||||
return filepath.Join(home, "AppData", "Roaming", "Ethereum")
|
||||
return filepath.Join(home, "AppData", "Roaming", "Callisto")
|
||||
} else {
|
||||
return filepath.Join(home, ".ethereum")
|
||||
return filepath.Join(home, ".callisto")
|
||||
}
|
||||
}
|
||||
// As we cannot guess a stable location, return empty and handle later
|
||||
|
|
|
|||
Loading…
Reference in a new issue