diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 13:56:43 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 7774f1809297b1d158cef504a56bf49296f90609 (patch) | |
tree | ebc522c4e94d180f92ff2255a6f0f00c676b9acf | |
parent | 8dc2068251b779ea6b93a3e789a9ebdeb8497b5c (diff) | |
download | dexon-7774f1809297b1d158cef504a56bf49296f90609.tar dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.gz dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.bz2 dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.lz dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.xz dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.zst dexon-7774f1809297b1d158cef504a56bf49296f90609.zip |
node: change default datadir folder name to dexon
-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 |