Use Callisto as a default folder dir

This commit is contained in:
Akira Takizawa 2018-08-15 15:00:18 +09:00
parent fa840b576e
commit 3d25ba880b
No known key found for this signature in database
GPG key ID: 4BB42E31C79111B8

View file

@ -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