diff --git a/main.go b/main.go index 99e676b4..94c6a99c 100644 --- a/main.go +++ b/main.go @@ -135,7 +135,7 @@ func mainUi(flagLocal bool, flagClientUI bool) { if runtime.GOOS == "android" { gcd.SetAssetPath("assets:/") } else { - gcd.SetAssetPath(path.Join(dir, "assets") + string(os.PathSeparator)) + gcd.SetAssetPath("file://" + path.Join(dir, "assets") + string(os.PathSeparator)) } if buildVer != "" { diff --git a/qml/main.qml b/qml/main.qml index db1b01dc..07fd635c 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -126,7 +126,6 @@ ApplicationWindow { currentIndex: 1 anchors.fill: parent - currentIndex: 0 readonly property int splashPane: 0 readonly property int managementPane: 1 readonly property int addEditProfilePane: 2