upgrade: beta

This commit is contained in:
杨红岩 2022-12-08 16:01:44 +08:00
parent 208b40e7cf
commit 1b0db5a1e2

View File

@ -201,11 +201,14 @@ func (m *tCefApplicationConfig) SetObjectRootName(name string) {
//energy framework env
func (m *tCefApplicationConfig) framework() {
var path = libPath()
if path != "" {
var path string
if m.frameworkDirPath == 0 {
m.SetFrameworkDirPath(path)
path = libPath()
} else {
path = api.GoStr(m.frameworkDirPath)
}
if path != "" {
m.SetFrameworkDirPath(path)
if m.cache == 0 {
m.SetCache(filepath.Join(path, "cache"))
}