diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 13:56:43 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:49 +0800 |
commit | 784a92928b1abba88e3808a104c36ef261bf64b5 (patch) | |
tree | 1f6b36a928b1ab0dae62ade0a3de1e3cb2bcda0b /node | |
parent | fb8fb70b0c63e400a3779d36c4986e0d4520c141 (diff) | |
download | dexon-784a92928b1abba88e3808a104c36ef261bf64b5.tar dexon-784a92928b1abba88e3808a104c36ef261bf64b5.tar.gz dexon-784a92928b1abba88e3808a104c36ef261bf64b5.tar.bz2 dexon-784a92928b1abba88e3808a104c36ef261bf64b5.tar.lz dexon-784a92928b1abba88e3808a104c36ef261bf64b5.tar.xz dexon-784a92928b1abba88e3808a104c36ef261bf64b5.tar.zst dexon-784a92928b1abba88e3808a104c36ef261bf64b5.zip |
node: change default datadir folder name to dexon
Diffstat (limited to 'node')
-rw-r--r-- | node/defaults.go | 6 |
1 files 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 |