diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-17 21:58:44 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-17 21:58:44 +0800 |
commit | 01863ebff06d620c9d3a8cf9195d72caeb11dc19 (patch) | |
tree | ad1a9b04052f65dfd28ca0aaa437c3d66103c1b2 /Mist/flags.go | |
parent | e4cc365e89cfd7a9862aa96a77d56fbd2d41ff4a (diff) | |
download | go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.tar go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.tar.gz go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.tar.bz2 go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.tar.lz go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.tar.xz go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.tar.zst go-tangerine-01863ebff06d620c9d3a8cf9195d72caeb11dc19.zip |
Rename and changed peer window
Diffstat (limited to 'Mist/flags.go')
-rw-r--r-- | Mist/flags.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mist/flags.go b/Mist/flags.go index 382f093aa..388280b8c 100644 --- a/Mist/flags.go +++ b/Mist/flags.go @@ -44,7 +44,7 @@ func defaultAssetPath() string { // assume a debug build and use the source directory as // asset directory. pwd, _ := os.Getwd() - if pwd == path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "ethereal") { + if pwd == path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "Mist") { assetPath = path.Join(pwd, "assets") } else { switch runtime.GOOS { @@ -53,7 +53,7 @@ func defaultAssetPath() string { exedir, _ := osext.ExecutableFolder() assetPath = filepath.Join(exedir, "../Resources") case "linux": - assetPath = "/usr/share/ethereal" + assetPath = "/usr/share/mist" case "windows": assetPath = "./assets" default: @@ -64,7 +64,7 @@ func defaultAssetPath() string { } func defaultDataDir() string { usr, _ := user.Current() - return path.Join(usr.HomeDir, ".ethereal") + return path.Join(usr.HomeDir, ".mist") } var defaultConfigFile = path.Join(defaultDataDir(), "conf.ini") |