From 784a92928b1abba88e3808a104c36ef261bf64b5 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 13 Oct 2018 13:56:43 +0800 Subject: node: change default datadir folder name to dexon --- node/defaults.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/defaults.go b/node/defaults.go index 6d7b6e155..ec4fc8039 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -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", "Dexon") } else if runtime.GOOS == "windows" { - return filepath.Join(home, "AppData", "Roaming", "Ethereum") + return filepath.Join(home, "AppData", "Roaming", "Dexon") } else { - return filepath.Join(home, ".ethereum") + return filepath.Join(home, ".dexon") } } // As we cannot guess a stable location, return empty and handle later -- cgit v1.2.3