events should be set prior to calling mainloop

This commit is contained in:
obscuren
2014-10-27 11:50:38 +01:00
parent 1d3f43f060
commit b095bd3237
3 changed files with 6 additions and 6 deletions

View File

@ -192,7 +192,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", "mist") {
if pwd == path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "go-ethereum", "cmd", "mist") {
assetPath = path.Join(pwd, "assets")
} else {
switch runtime.GOOS {