try path join only for qml path
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
8337c92f45
commit
f59240e6c8
3
main.go
3
main.go
|
@ -24,6 +24,7 @@ import (
|
|||
mrand "math/rand"
|
||||
"os"
|
||||
"os/user"
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"time"
|
||||
|
@ -167,7 +168,7 @@ func mainUi(flagLocal bool, flagClientUI bool) {
|
|||
if runtime.GOOS == "windows" {
|
||||
dir = "/" + dir
|
||||
}
|
||||
gcd.SetAssetPath("file://" + filepath.Join(dir, "assets") + string(filepath.Separator))
|
||||
gcd.SetAssetPath("file://" + path.Join(dir, "assets") + "/") // + string(filepath.Separator))
|
||||
}
|
||||
log.Infof("gcd.assetPath = '%v'\n", gcd.AssetPath())
|
||||
|
||||
|
|
Reference in New Issue