Compare commits

...
This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.

2 Commits

Author SHA1 Message Date
Dan Ballard f59240e6c8 try path join only for qml path
the build was successful Details
2020-10-28 15:50:19 -07:00
Dan Ballard 8337c92f45 log assetFolder, use sperator rune
the build was successful Details
2020-10-28 15:43:16 -07:00
1 changed files with 3 additions and 1 deletions

View File

@ -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)