|
|
@ -189,7 +189,7 @@ func DefaultAssetPath() string { |
|
|
|
// assume a debug build and use the source directory as
|
|
|
|
// assume a debug build and use the source directory as
|
|
|
|
// asset directory.
|
|
|
|
// asset directory.
|
|
|
|
pwd, _ := os.Getwd() |
|
|
|
pwd, _ := os.Getwd() |
|
|
|
if pwd == path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "Mist") { |
|
|
|
if pwd == path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "mist") { |
|
|
|
assetPath = path.Join(pwd, "assets") |
|
|
|
assetPath = path.Join(pwd, "assets") |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
switch runtime.GOOS { |
|
|
|
switch runtime.GOOS { |
|
|
|