Compare commits
2 Commits
master
...
windows_bu
Author | SHA1 | Date |
---|---|---|
Dan Ballard | f59240e6c8 | |
Dan Ballard | 8337c92f45 |
4
main.go
4
main.go
|
@ -24,6 +24,7 @@ import (
|
|||
mrand "math/rand"
|
||||
"os"
|
||||
"os/user"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"time"
|
||||
|
@ -167,8 +168,9 @@ func mainUi(flagLocal bool, flagClientUI bool) {
|
|||
if runtime.GOOS == "windows" {
|
||||
dir = "/" + dir
|
||||
}
|
||||
gcd.SetAssetPath("file://" + filepath.Join(dir, "assets") + "/")
|
||||
gcd.SetAssetPath("file://" + path.Join(dir, "assets") + "/") // + string(filepath.Separator))
|
||||
}
|
||||
log.Infof("gcd.assetPath = '%v'\n", gcd.AssetPath())
|
||||
|
||||
if buildVer != "" {
|
||||
gcd.SetVersion(buildVer)
|
||||
|
|
Reference in New Issue