Change data location

This commit is contained in:
Yohan Graterol 2017-12-02 22:01:05 -05:00
parent 7b86ef3edb
commit 1018854385

View file

@ -55,11 +55,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