use GOPATH variable for base directory

pull/25/head
Tymat 11 years ago
parent fbd53f0e34
commit 51985ac710
  1. 3
      ui/ui_lib.go

@ -8,6 +8,7 @@ import (
"path"
"path/filepath"
"runtime"
"os"
)
// UI Library that has some basic functionality exposed
@ -54,7 +55,7 @@ func AssetPath(p string) string {
// Get Binary Directory
exedir, _ := osext.ExecutableFolder()
base = filepath.Join(exedir, "../Resources")
base = "/Users/jeffrey/go/src/github.com/ethereum/go-ethereum"
base = os.Getenv("GOPATH") + "/src/github.com/ethereum/go-ethereum"
case "linux":
base = "/usr/share/ethereal"
case "window":

Loading…
Cancel
Save